Hello,
I am very new to R. I am working on a capstone project, and I have separated the time and date into two columns, but when I view(), the columns are not separated. So here is the code I used.
all_trips %>%
separate(
started_at,
into = c("start_date", "start_time"),
sep = " ",
remove = FALSE
) %>%
mutate(
start_date = lubridate::as_date(start_date, format = "%Y-%m-%d"),
start_time = hms::as_hms(str_c(start_time, "00")))