reshape_adates: Reshape format of all dates (full and partial)
Description
Re-arranges full and partial dates in the general form of "MM/DD/YYYY" to
the ISO 8601 format ("YYYY-MM-DD"). This function is appropriate for
vectors with mixed full and partial dates because it will not convert the
partial dates to NA which would occur if you used
as.Date("02/UN/2017", format = "%m/%d/%Y").
Usage
reshape_adates(dates)
Value
a character vector of full and/or partial dates in the format
"YYYY-MM-DD"
Arguments
dates
a character vector of full and/or partial dates
Details
The date component separator in the input vector dates can be any
character.