nhanes_variables | R Documentation |
Load the NHANES comprehensive variable list
nhanes_variables(
components = "all",
destination = tempfile(),
cache = TRUE,
method = "auto"
)
components |
one of "all", "demographics", "dietary", "examination", "laboratory", "questionnaire" |
destination |
where to save the variable list |
cache |
whether to cache the downloaded variable list so it doesn't have to be re-downloaded every time |
method |
download.file method Helper function for nhanes_variables function |
dat
## Not run:
# Download the comprehensive NHANES variable list
variables <- nhanes_variables()
# Download the variable list and cache it in a specific file
variables <- nhanes_variables(destination = "./nhanes_data")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.