dictionary_to_yaml {labelmachine} | R Documentation |
Transform data structure from lama_dictionary class input format to the yaml format
Description
In the lama_dictionary class object the data has the structure vars (named list) > translations (named character vector) This structure is transformed to the yaml file structure vars (named list) > translations (named list)
Usage
dictionary_to_yaml(data)
Arguments
data |
A list that has lama-dictionary structure. |
Value
An object similar to lama-dictionary object, but each translation is not a named character vector, but a named list holding character strings.
[Package labelmachine version 1.0.0 Index]