I have a date variable in a data frame with date in "YYYY-MM-DD" format.
I used the separate function(below) in tidyr
package which worked but it does not add columns to the table.
separate(<table name>, "<date variable>", c("Year", "Month", "Day"), sep = "-")
How can I get "Year", "Month" & "Day" variables added to the end of the table?