dfiso {datetoiso} | R Documentation |
Function recognize date variables and modify them to ISO standard ("International Organization for Standardization")
Description
Function recognize date variables and modify them to ISO standard ("International Organization for Standardization")
Usage
dfiso(df)
Arguments
df |
data frame or variable/s, for example data.frame(date=c("12-Mar-2021","01-Jan-2023")) |
Value
dates formatted to ISO standard (yyyy-mm-dd)
Author(s)
Lukasz Andrzejewski
Examples
# data frame with different formatted dates
dfiso(data.frame(date1=c("13-02-2022","13/Feb/2022","13-Feb-2022")))
[Package datetoiso version 0.2.0 Index]