I want to tidy my data by summing the data in each column by the CCG name. I essentially have 12 months worth of data separated for each CCG in this data frame but I want to sum it to just get one row with all the information.
For example I have 12 entries in my data frame for NHS Darlington CCG and want to sum all the columns (ReferralsReceived, FirstTreatment, etc) to just have one result for NHS Darlington CCG and not 12.
But I want do this for every CCG in the column CCGName.
Does anyone know how I can do this?