Write a yaml file holding translations for one or multiple variables

lama_write(x, yaml_path)

Arguments

x

A lama_dictionary class object holding the variable translations

yaml_path

File path, where the yaml file should be saved

Examples

# \donttest{ 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) # }