insp_cast_chr_date: Cast Character Dates to a Standard Format

insp_cast_chr_dateR Documentation

Cast Character Dates to a Standard Format

Description

insp_cast_chr_date() converts dates in a variety of character formats to the ISO 8601 standard. It is intended for use as the character_fun in convert_to_date().

Usage

insp_cast_chr_date(x)

Arguments

x

A vector of dates

Value

The standardized date vector

See Also

The function that this is used in, convert_to_date(), as well as the higher-level function insp_prep_data()


jesse-smith/covidReport documentation built on Aug. 3, 2024, 4:52 p.m.