Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nhanes_variables

Load the NHANES comprehensive variable list


Description

Load the NHANES comprehensive variable list

Usage

nhanes_variables(components = "all", destination = tempfile(),
  cache = TRUE)

Arguments

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

Helper function for nhanes_variables function

Value

dat

Examples

## 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)

RNHANES

Facilitates Analysis of CDC NHANES Data

v1.1.0
Apache License 2.0 | file LICENSE
Authors
Herb Susmann [cre, aut], Silent Spring Institute [cph]
Initial release
2016-11-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.