powered by
Enrich traffic data with date informations.
enrich_dates(data)
Same dataframe with 3 additionnal columns : day, weekday and hour.
Data frame containing a date character column containing date + hour + timezone.
date
df <- data.frame('date' = c("2022-02-18 08:00:00 CET","2022-02-18 09:00:00 CET"), stringsAsFactors = FALSE) enrich_dates(df)
Run the code above in your browser using DataLab