Once the DUA crosswalk has been loaded, show the available
restriction levels with associated data element names.
see_dua_options(level = NULL, sort_vars = TRUE, ...)
Arguments
level |
String name or vector of string names of levels to
show. |
sort_vars |
Sort variables alphabetically when printing
restrictions; if FALSE , prints in the order saved in the
crosswalk file |
... |
For debugging. |
Examples
#> -- duawranglr note -------------------------------------------------------------
#> DUA crosswalk has been set!
## --------------
## see level i options
see_dua_options(level = 'level_i')
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_i
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - dob
#> - gender
#> - raceeth
#> - sid
#> - sname
#> - tid
#> - tname
#> - zip
#>
#> --------------------------------------------------------------------------------
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_i
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - dob
#> - gender
#> - raceeth
#> - sid
#> - sname
#> - tid
#> - tname
#> - zip
#>
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_ii
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - dob
#> - sid
#> - sname
#> - tname
#> - zip
#>
#> --------------------------------------------------------------------------------
## show all option levels
see_dua_options()
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_i
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - dob
#> - gender
#> - raceeth
#> - sid
#> - sname
#> - tid
#> - tname
#> - zip
#>
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_ii
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - dob
#> - sid
#> - sname
#> - tname
#> - zip
#>
#> --------------------------------------------------------------------------------
#> LEVEL NAME: level_iii
#> --------------------------------------------------------------------------------
#>
#> RESTRICTED VARIABLE NAMES:
#> - sid
#> - sname
#> - tname
#>
#> --------------------------------------------------------------------------------