Description Usage Arguments Examples
Set data restrictions to one of the levels in the DUA crosswalk.
1 | set_dua_level(level, deidentify_required = FALSE, id_column = NULL)
|
level |
String value of the data restriction level |
deidentify_required |
Set to |
id_column |
Column with unique IDs that must be identified if
|
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## --------------
## Setup
## --------------
## set DUA crosswalk
dua_cw <- system.file('extdata', 'dua_cw.csv', package = 'duawranglr')
set_dua_cw(dua_cw)
## --------------
## set restrictions at first level
set_dua_level('level_i')
## ...same, but set unique ID column to be deidentified
set_dua_level('level_i', deidentify_required = TRUE, id_column = 'sid')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.