Skip to contents

Returns a named character vector mapping canonical variable keys used by morie_generate_synthetic_data() to output column names.

Usage

morie_default_synthetic_name_map(profile = c("generic", "morie_legacy"))

Arguments

profile

Name profile. "generic" is recommended for new projects. "morie_legacy" reproduces previous EML legacy column names.

Value

Named character vector.

Examples

morie_default_synthetic_name_map("generic")
#>                   id               weight                  sex 
#>                 "id"             "weight"                "sex" 
#>            age_group               region         alcohol_ever 
#>          "age_group"             "region"       "alcohol_ever" 
#>          alcohol_12m     alcohol_freq_30d   heavy_drinking_30d 
#>        "alcohol_12m"   "alcohol_freq_30d" "heavy_drinking_30d" 
#>                  bac            bac_legal       risk_indicator 
#>                "bac"          "bac_legal"     "risk_indicator" 
#>         cannabis_use      physical_health        mental_health 
#>       "cannabis_use"    "physical_health"      "mental_health"