I have this data set right there that I need to aggregate
aggregate(credit$Amount~credit$`Transaction Date`,credit,sum)
I tried that code but it has been giving me only the totals amount of March and February whereas I need the amounts of March and February broken out by categories like food & drink and travel.