download_nhanes_file {RNHANES} | R Documentation |
Download an NHANES data file from a given cycle
Description
Download an NHANES data file from a given cycle
Usage
download_nhanes_file(file_name, year, destination = tempdir(), cache = TRUE)
Arguments
file_name |
file name |
year |
NHANES cycle |
destination |
directory to download the file into |
cache |
whether to cache the file |
Value
path to the downloaded file
[Package RNHANES version 1.1.0 Index]