Description Usage Arguments Examples
After setting the DUA restriction level, check the setting and restricted data elements.
1  | see_dua_level(show_restrictions = FALSE, sort_vars = TRUE, ...)
 | 
show_restrictions | 
 Show the names of the variables that are
restricted by the current level if   | 
sort_vars | 
 Sort variables alphabetically when printing
restrictions; if   | 
... | 
 For debugging.  | 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19  | ## --------------
## Setup
## --------------
## set DUA crosswalk
dua_cw <- system.file('extdata', 'dua_cw.csv', package = 'duawranglr')
set_dua_cw(dua_cw)
## --------------
## set restriction level
set_dua_level('level_i')
## show name of current restriction level
see_dua_level()
## ...include names of restricted elements
see_dua_level(show_restrictions = TRUE)
## ...show variable names in order saved in crosswalk file
see_dua_level(show_restrictions = TRUE, sort_vars = FALSE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.