A context contains study design specific information about a variable.
short_labela short_label
long_labela long_label
descriptiona description
derivationa derivation
purposea purpose
security_typesecurity information
context(
short_label = "age_cat4",
long_label = "Age categorical with four levels",
description = "The age categories are ... They were chosen by ...",
derivation = "This variable was derived from the `age` variable",
purpose = purpose(study_role = "covariate", tags = "demographics"),
security_type = "HIPAA"
)
#> An object of class "context"
#> Slot "short_label":
#> [1] "age_cat4"
#>
#> Slot "long_label":
#> [1] "Age categorical with four levels"
#>
#> Slot "description":
#> [1] "The age categories are ... They were chosen by ..."
#>
#> Slot "derivation":
#> [1] "This variable was derived from the `age` variable"
#>
#> Slot "purpose":
#> An object of class "purpose"
#> Slot "study_role":
#> [1] "covariate"
#>
#> Slot "tags":
#> [1] "demographics"
#>
#>
#> Slot "security_type":
#> [1] "HIPAA"
#>