lama_read {labelmachine} | R Documentation |
yaml
file holding translations for one or multiple variablesRead in a yaml
file holding translations for one or multiple variables
lama_read(yaml_path)
yaml_path |
Path to yaml file holding the labels and translations for multiple variables |
A lama_dictionary class object holding the variable translations defined in the yaml file
path_to_file <- system.file("extdata", "dictionary_exams.yaml", package = "labelmachine")
dict <- lama_read(path_to_file)