get_value_labels | R Documentation |
Retrieve the labels from the dictionary
get_value_labels(dictionary, indices, use.regex = getOption("use.regex"), ...)
dictionary |
A data dictionary |
indices |
Numeric vector; indices of the variables whose labels' values will be used |
use.regex |
Whether regular expressions will be used to extract the value(s) |
... |
Arguments passed to internal functions. These include
|
This function is used differently across the various GBV projects.
Specifically, the patterns used in the projects that had data hosted on
REDCap are peculiar. For other projects, we either set
getOption('use.regex')
to FALSE
or specify a pattern for
extraction.
A character vector of the labels, possibly modified internally.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.