auto_transform | R Documentation |
This function transforms a data.frame by guessing the right data classes and applying them, using readr::parse_guess()
and cleaner
functions such as cleaner::clean_Date()
.
auto_transform(
x,
datenames = "en",
dateformat = "yyyy-mm-dd",
timeformat = "HH:MM",
decimal.mark = ".",
big.mark = "",
timezone = "",
na = c("", "NULL", "NA", "<NA>"),
snake_case = FALSE,
...
)
x |
a data.frame |
datenames |
language of the date names, such as weekdays and months |
dateformat |
expected date format, will be coerced with |
timeformat |
expected time format, will be coerced with |
decimal.mark |
separator for decimal numbers |
big.mark |
separator for thousands |
timezone |
expected time zone |
na |
values to interpret as |
snake_case |
apply snake case to the column names |
... |
not used as the time, allows for future extension |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.