get_partialdatetime {admiral} | R Documentation |
Parse DTC variable and Determine Components
Description
Parse DTC variable and Determine Components
Usage
get_partialdatetime(dtc)
Arguments
dtc |
The A character date is expected in a format like |
Details
The function can be replaced by the parttime parser once it is available.
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_dt()
,
restrict_imputed_dtc_dtm()
[Package admiral version 1.1.1 Index]