Learn R Programming

RNHANES (version 1.1.0)

nhanes_load_demography_data: Download NHANES demography files for a specific cycle.

Description

Download NHANES demography files for a specific cycle.

Usage

nhanes_load_demography_data(year, destination = tempdir(), cache = FALSE)

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

Examples

Run this code

## Not run: 
# nhanes_load_demography_data("2011-2012")
# ## End(Not run)

Run the code above in your browser using DataLab