covariate_meta_info: Retrieve the meta information about a covariate for EAV...

View source: R/entity-attribute-value.R

covariate_meta_infoR Documentation

Retrieve the meta information about a covariate for EAV decoding

Description

Mappings that define attribute-value encodings into R-native objects are stored in a FacileDataSet's meta.yaml file, in the sample_covariate section.

Usage

covariate_meta_info(covariate, .fds, covdefs = NULL)

Arguments

covariate

the name of the covariate

.fds

the FacileDataSet

covdefs

The covariate_definitions(.fds) list

Value

a list of covariate information with the following elements: ⁠$name⁠, ⁠$type⁠, ⁠$class⁠, ⁠$description⁠, ⁠$label⁠, ⁠$is.factor⁠, (and maybe ⁠$levels⁠)


facileverse/FacileData documentation built on Feb. 24, 2024, 7:59 a.m.