View source: R/date_standardization_helpers.R
date_convert | R Documentation |
Convert characters to dates
date_convert(data, cols, error_tolerance, timeframe = NULL, orders)
data |
The input |
cols |
A |
error_tolerance |
A |
timeframe |
A |
orders |
A list( quarter_partial_dates = c("Y", "Ym", "Yq"), world_digit_months = c("Yq", "ymd", "ydm", "dmy", "mdy", "myd", "dym", "Ymd", "Ydm", "dmY", "mdY", "mYd", "dYm"), world_named_months = c("dby", "dyb", "bdy", "byd", "ybd", "ydb", "dbY", "dYb", "bdY", "bYd", "Ybd", "Ydb"), us_format = c("Omdy", "YOmd") ) |
A <list>
with the following two elements: a data frame where
the specified columns have been converted into <Date>
values, a
boolean that tells whether numeric values that can also be of type
<Date>
are found in the specified columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.