dt_level: Create a 'dt_level' object

View source: R/derive_vars_dt_dtm_utils.R

dt_levelR Documentation

Create a dt_level object

Description

Create a dt_level object

Usage

dt_level(level)

Arguments

level

Date level

Permitted Values: "Y" (year, highest level), "M" (month), "D" (day), "n" (none, lowest level)

Details

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

Value

A dt_level object

See Also

Utilities used for date imputation: dtm_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.