Learn R Programming

labelmachine (version 1.0.0)

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

Description

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

Usage

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

Run this code
# NOT RUN {
  
# }
# NOT RUN {
    path_to_file <- system.file("extdata", "dictionary_exams.yaml", package = "labelmachine")
    dict <- lama_read(path_to_file) 
  
# }

Run the code above in your browser using DataLab