View source: R/general_functions.R
tidy_date | R Documentation |
Combines two formating functions in one to make working with dates less terrible. The first thing the function does is take a character vector of the format MM/DD/YYYY and tell R to change it to the more stat-software-friendly-format YYYY-MM-DD. It then converts this reformatted character string into a date object with the lubridate package.
tidy_date(col, includes_timestamp = TRUE)
col |
The date column you want to change. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.