lama_read: Read in a 'yaml' file holding translations for one or...

Description Usage Arguments Value Examples

View source: R/lama_read.R

Description

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

Usage

1
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

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

labelmachine documentation built on Oct. 11, 2019, 9:05 a.m.