get_imputation_target_time {admiral}R Documentation

Get Time Imputation Targets

Description

Get Time Imputation Targets

Usage

get_imputation_target_time(time_imputation)

Arguments

time_imputation

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.

Details

Value

A list of character vectors. The elements of the list are named "hour", "minute", "second".

See Also

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()


[Package admiral version 1.0.2 Index]