convert_date_numeric_stdform: Helper function to keep date formats in year-month-date

Description Usage Arguments Value Examples

View source: R/IPDFileCheck.R

Description

Helper function to keep date formats in year-month-date

Usage

1
convert_date_numeric_stdform(column, index, orderby = "dmy")

Arguments

column

a data frame or a vector

index

those correspond to valid date in numeic form (omitting non response code or no entry)

orderby

give the order such as mdy, dmy etc where d refers to day, m to month and y to year

Value

entry corrected entries as in standard date format

Examples

1
convert_date_numeric_stdform(c("01/01/2000", "02/02/2002"), c(1, 2), "dmy")

IPDFileCheck documentation built on Feb. 1, 2022, 9:07 a.m.