I have two different dataframe with different date formats
date1<-c('2001-01-30', '2001-02-25')
data2 <- c('200101','200102')
I want to convert these dates in the same format so I can merge my two different dataframes by date.
The frequency is on a monthly basis.
Can someone help me with this task?