lama_write {labelmachine} | R Documentation |
yaml
file holding translations for one or multiple variablesWrite a yaml
file holding translations for one or multiple variables
lama_write(x, yaml_path)
x |
A lama_dictionary class object holding the variable translations |
yaml_path |
File path, where the yaml file should be saved |
dict <- new_lama_dictionary(results = c(p = "Passed", f = "Failed"))
path_to_file <- file.path(tempdir(), "my_dictionary.yaml")
lama_write(dict, path_to_file)