Parse DTC variable and Determine Components
Arguments
- dtc
The
'--DTC'
date to parseA character date is expected in a format like
yyyy-mm-dd
oryyyy-mm-ddThh:mm:ss
. Trailing components can be omitted and-
is a valid value for any component.
Value
A list of character vectors. The elements of the list are named
"year", "month", "day", "hour", "minute", and "second". Missing components
are set to NA_character_
.
See also
impute_dtc_dtm()
, impute_dtc_dt()
Utilities used for date imputation:
dt_level()
,
dtm_level()
,
get_imputation_target_date()
,
get_imputation_target_time()
,
restrict_imputed_dtc_dtm()
,
restrict_imputed_dtc_dt()