I am very new to R but trying my best to learn! Need help adding a column for just the date, parsed from datetime data.
My data looks like this:
city | state | datetime
Sand | CA. | 2017-12-22 14:07:00
I would like to add a fourth column with just the date. I thought I could use Lubridate but the function ymd_hms("datetime")
will not parse the data.
Thank you for your help