| messy_datetime_formats | R Documentation | 
Takes any date(times) column and transforms it into a character column, sampling from any number of random of valid character representations.
messy_datetime_formats(
  data,
  cols = NULL,
  formats = c("%Y/%m/%d %H:%M:%S", "%d/%m/%Y %H:%M:%S")
)
messy_date_formats(
  data,
  cols = NULL,
  formats = c("%Y/%m/%d", "%d/%m/%Y")
)
| data | input dataframe | 
| cols | set of columns to apply transformation to. If  | 
| formats | A vector of any number of valid  | 
a dataframe the same size as the input data.
Jack Davison
Other Messy date(time) functions: 
messy_datetime_tzones(),
split_datetimes()
data <- data.frame(dates = rep(Sys.Date(), 10))
messy_date_formats(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.