Skip to contents

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.

Value

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

Details

  • 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.