Download NHANES demography files for a specific cycle.

nhanes_load_demography_data(year, destination = tempdir(), cache = FALSE,
  method = "auto")

Arguments

year

NHANES cycle year (e.g. "2011-2012")

destination

directory to download the file to

cache

whether load the file if it already exists on disk

method

download method passed to download.file

Examples

# NOT RUN { nhanes_load_demography_data("2011-2012") # }