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,
...
)
language of the date names, such as weekdays and months
expected date format, will be coerced with format_datetime()
expected time format, will be coerced with format_datetime()
separator for decimal numbers
separator for thousands
expected time zone
values to interpret as NA
apply snake case to the column names
not used as the time, allows for future extension