dt_level {admiral}R 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()


[Package admiral version 1.1.0 Index]