How can I split the date (form: 2007012410:03:17) in multiple columns: year, month , day?

df_T <- df %>%
mutate(
DATE = parse_date_time(
DATE, "m/d/Y"
)

   ) %>% 

#I want to split up the first column in YEAR and MONTH and DAY so that I can integrate over the months

R4DS is an excellent book to learn from. For you chapters 5 and 16 are most relevant to your task.

If you get stuck or would like more specific help to your issue, then a reprex would help.
-->

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.