convert_to_date {iNZightTools}R Documentation

Convert variables to dates

Description

Convert variables to dates

Usage

convert_to_date(data, vars, ord = NULL, names = NULL)

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

Value

original dataframe containing new columns of the converted variables with tidyverse code attached

Author(s)

Zhaoming Su

See Also

code


[Package iNZightTools version 2.0.1 Index]