lama_read {labelmachine}R Documentation

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

  
    path_to_file <- system.file("extdata", "dictionary_exams.yaml", package = "labelmachine")
    dict <- lama_read(path_to_file) 
  

[Package labelmachine version 1.0.0 Index]