I have a column that is 20180801, 20180802, 20180803 and so on. I need to convert this column into proper y-mm-dd format. Is there a lubridate function to perform this ?
Also, I'm unaware if we have some direct functions to convert this numeric column into various columns such as year, month, date.
See Lubridates CheatSheet for some helpers
On the first page of the cheetsheet, look for 'Get and Set Components' for converting Year, Month, Day functions. You may need to combine this with some tidyr/plyr/dplyr functions to create new columns for each of the components