I have dates formatted as 'year_month' like so:
# A tibble: 6 x 4
  IND_LOC year_month total_this_month data             
  <fct>   <fct>                 <dbl> <list>           
1 8_9     2013_01            3960268. <tibble [11 × 8]>
2 8_9     2013_02            3051909. <tibble [11 × 8]>
3 8_9     2013_03            3504636. <tibble [11 × 8]>
4 8_9     2013_04            3234451. <tibble [11 × 8]>
5 8_9     2013_05            3409146. <tibble [12 × 8]>
6 8_9     2013_06            3619219. <tibble [12 × 8]>
I would like the 'year_month' column to be of class 'date' showing 'Jan-2013' etc. instead of 2013_01.
I'm also trying to convert this dataframe into a timeseries, though I imagine this will be considerably easier once I have a proper date column...
I've tried several lubridate options though I think the current format of my "dates" are so unconventional that it just doesn't know what to do with them?
Any help with this is greatly appreciated!
