yaml_to_dictionary: Transform data structure from yaml format to the...

Description Usage Arguments Value

View source: R/utilities.R

Description

When a yaml file is read in, the data has the structure vars (named list) > translations (named list) This structure is transformed to the lama_dictionary class input structure vars (named list) > translations (named character vector)

Usage

1

Arguments

data

An object similar to a lama-dictionary object, but each translation is not a named character vector, but a named list holding character strings.

Value

A list that has lama-dictionary structure.


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