Description Usage Arguments Value Author(s) See Also Examples
View source: R/fetchDietaryData.R
This function pulls various types of supplementary dietary data from the CDC's NHANES survey for a user-provided year.
1 | fetchDietaryData(start.year = "2017", diet.dataset.list = NULL)
|
start.year |
The year for which the user desires data. Must not be later than 2017 (the last year currently available). Defaults to "2017". |
diet.dataset.list |
A character vector containing the names of specific dietary datasets the user would like to analyze. If none are provided, all datasets are returned. Defaults to NULL. |
A named list containing the requested dietary datasets.
Jack Leary
1 | fetchDietaryData(start.year = "2017", diet.dataset.list = c("DR1IFF_J", "DR2IFF_J"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.