View source: R/nhanes_codebook.R
nhanesCodebook | R Documentation |
Returns full NHANES codebook including Variable Name, SAS Label, English Text, Target, and Value distribution.
nhanesCodebook(nh_table, colname, dxa = FALSE)
nh_table |
The name of the NHANES table that contains the desired variable. |
colname |
The name of the table column (variable). |
dxa |
If TRUE then the 2005-2006 DXA codebook will be used (default=FALSE). |
Each NHANES variable has a codebook that provides a basic description as well as the distribution or range of values. This function returns the full codebook information for the selected variable.
The codebook is returned as a list object. Returns NULL upon error.
nhanesCodebook('AUX_D', 'AUQ020D')
nhanesCodebook('BPX_J', 'BPACSZ')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.