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

View source: R/IPDFilecheck.R

convert_date_numeric_stdformR Documentation

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

Description

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

Usage

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

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

sheejamk/IPDFileCheck documentation built on March 10, 2024, 3:14 p.m.