Convert variables to date-time
Arguments
- data
a dataframe with the variables to convert
- vars
a character vector of column names to convert
- ord
a character vector of date-time formats
- names
a character vector of names for the created variables
- tz
a time zone name (default: local time zone). See
OlsonNames
Value
original dataframe containing new columns of the converted variables with tidyverse code attached