Dealing with dates in R

The code for changing bank records date from Chapter 1, Why to Choose R for Your Data Mining and where to start?:

movements %>%
mutate(date_new = as.Date(movements$date, origin = "1899-12-30")) %>%
mutate(day_of_week = wday(date_new)) %>%
mutate(month = month(date_new)) -> movements_clean

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset