Get Time Imputation Targets
get_imputation_target_time(time_imputation)
A list of character vectors. The elements of the list are named "hour", "minute", "second".
The value to impute the time when a timepart is missing.
A character value is expected, either as a
format with hour, min and sec specified as "hh:mm:ss"
: e.g. "00:00:00"
for the start of the day,
or as a keyword: "first"
,"last"
to impute to the start/end of a day.
For time_imputation = "first"
"00"
, "00"
, "00"
are returned.
For time_imputation = "last"
"23"
, "59"
, "59"
are returned.
For time_imputation = "<hh>:<mm>:<ss>"
"<hh>"
, "<mm>"
, "<ss>"
are returned.
impute_dtc_dtm()
Utilities used for date imputation:
dt_level()
,
dtm_level()
,
get_imputation_target_date()
,
get_partialdatetime()
,
restrict_imputed_dtc_dt()
,
restrict_imputed_dtc_dtm()