I have a data frame
date df discharge cfs green discharge cfs north discharge cfs
1 December 2018 2520.1394 171.69667
In base R, we can paste an arbitrary date , convert to date object and then format
format(as.Date(paste0('1', df$date), '%d %B %Y'), '%m-%Y')
Another option with regex and using an inbuilt vector month.name
can be
with(df, paste(match(sub('\\s\\d+', '', date), month.name),
sub('.*\\s+', '', df$date), sep = '-'))