lowercase_dictionary_values: Internal function to lowercase dictionary values

View source: R/dictionaries.R

lowercase_dictionary_valuesR Documentation

Internal function to lowercase dictionary values

Description

Internal function to lowercase dictionary values

Usage

lowercase_dictionary_values(dict)

Arguments

dict

the dictionary whose values will be lowercased

Examples

dict <- list(KEY1 = list(SUBKEY1 = c("A", "B"),
                          SUBKEY2 = c("C", "D")),
              KEY2 = list(SUBKEY3 = c("E", "F"),
                          SUBKEY4 = c("G", "F", "I")),
              KEY3 = list(SUBKEY5 = list(SUBKEY7 = c("J", "K")),
                          SUBKEY6 = list(SUBKEY8 = c("L"))))
quanteda:::lowercase_dictionary_values(dict)

quanteda documentation built on Sept. 11, 2024, 6:08 p.m.