Converts a column to POSIXct
convert_to_date(d)
d
a numeric or character vector
a POSIXct vector
convert_to_date('2018031')