Read in a yaml file holding translations for one or multiple variables

lama_read(yaml_path)

Arguments

yaml_path

Path to yaml file holding the labels and translations for multiple variables

Value

A lama_dictionary class object holding the variable translations defined in the yaml file

Examples

# \donttest{ path_to_file <- system.file("extdata", "dictionary_exams.yaml", package = "labelmachine") dict <- lama_read(path_to_file) # }