excludeVar | R Documentation |
Remove a variable from the data set.
excludeVar(l, dataset, variable, true = TRUE)
l |
data dictionary list |
dataset |
name of data set |
variable |
name of variable to remove |
true |
The value to assign to ‘exclude’, assumed to be TRUE. |
updated data dictionary list
dd <- script2info(system.file("examples", "ex_script.R", package = "rcmoonpie")) dd <- excludeVar(dd, 'data', 'redcap_event_name') dd$dataset[[1]]$variables[[2]]$exclude
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.