fix_date: Fix with with any date variable.

Description Usage Arguments See Also

View source: R/cleanup.R

Description

Fix with with any date variable.

Usage

1
fix_date(.data, date_var, original_format = "%m/%d/%y")

Arguments

.data

The processing dataset.

date_var

The date variable found in the dataset.

original_format

The original format of the date (e.g. MM/DD/YY is %m/%d/%y or YYYY-MM-DD is %Y-%m-%d).

See Also

To see the different options for date formats, see strptime.


lwjohnst86/PROMISE.scrub documentation built on May 21, 2019, 9:01 a.m.