date_i_guess_and_convert: Extract date from a character vector
Description
This function tries converting a single character string into a
well-formatted date, but still returning a character. If it can't convert
it, it returns NA.
Usage
date_i_guess_and_convert(x)
Value
If the format cannot be resolved, the function returns NA
; if
a matching format is found, it returns the <vector>
of the
converted values.
Arguments
- x
A <vector>
of characters