View source: R/get_language_lookup.R
extract_field_names | R Documentation |
Helper to get_language_lookup()
extract_field_names(fields_list)
fields_list |
A named list that contains one or two other named lists ("label" and "description") with the translation / display language of the respective internal value (i.e. the name of the list) |
language |
a data frame with the column "var" and "label" containing the value in var and its respective translation / display value in "label"
## Not run:
fields_list <- list("category" = list("label" = "Category"),
"identifier" = list("label" = "Name / ID (unique)",
"description" = "Description of the field"))
df <- extract_field_names(fields_list)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.