convert_to_datetime {iNZightTools} | R Documentation |
Convert variables to date-time
Description
Convert variables to date-time
Usage
convert_to_datetime(data, vars, ord = NULL, names = NULL, tz = "")
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
|
Value
original dataframe containing new columns of the converted variables with tidyverse code attached
Author(s)
Zhaoming Su
See Also
[Package iNZightTools version 2.0.1 Index]