get_vars_in_data | R Documentation |
Utility function that gets the name(s) of the variables in a redcap project.
get_vars_in_data(metadata, negative_char = "_")
metadata |
REDCap metadata |
negative_char |
checkbox expansion character for a negative checkbox level |
Using the redcap metadata, code is generated that extracts the names of the variables in the dataset.
Checkboxes are also munged to reflect what is in the repository.
Useful for metaprogramming.
a character vector of the variable names in the dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.