dtm_level: Create a 'dtm_level' object

View source: R/derive_vars_dt_dtm_utils.R

dtm_levelR Documentation

Create a dtm_level object

Description

Create a dtm_level object

Usage

dtm_level(level)

Arguments

level

Datetime level

Permitted Values: "Y" (year, highest level), "M" (month), "D" (day), "h" (hour), "m" (minute), "s" (second, lowest level), "n" (none)

Details

A dtm_level object is an ordered factor, i.e., two objects can be compared.

Value

A dtm_level object

See Also

Utilities used for date imputation: dt_level(), get_imputation_target_date(), get_imputation_target_time(), get_partialdatetime(), restrict_imputed_dtc_dt(), restrict_imputed_dtc_dtm()


admiral documentation built on June 22, 2024, 9:06 a.m.