1
Hello, I have a dataset with the following columns
date total_cases
2019-12-31 0
2020-01-01 0
2020-01-02 0
2020-01-03 0
2020-01-04 0
2020-01-05 0
I am trying to take days and leave only the year and month, and then I will unite them using the Aggregate function. can give me a hint of some way for me to do this procedure?
Note: I imported the data as follows
dados = read.csv(file = "raw_data.csv", sep = ",", na.strings = "", strip.white = T)