Download an NHANES data file from a given cycle
download_nhanes_file(file_name, year, destination = tempdir(), cache = TRUE, method = "auto")
| file_name | file name |
|---|---|
| year | NHANES cycle |
| destination | directory to download the file into |
| cache | whether to cache the file |
| method | download method passed to download.file |
path to the downloaded file