added getTable method

getData now has multiple default uses (creating html tables and downloading csvs), so i added getTable to give more flexibility in the data used in table outputs