lama_write {labelmachine} | R Documentation |
Write a yaml
file holding translations for one or multiple variables
Description
Write a yaml
file holding translations for one or multiple variables
Usage
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
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)
[Package labelmachine version 1.0.0 Index]