availableDietaryData: Fetch a table of the different NHANES dietary datasets...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/availableDietaryData.R

Description

This function generates a table of the available NHANES dietary datasets and their abbreviated names (e.g. "Dietary Supplement Database - Ingredient Information" and "DSII" for 2017-2018). The desired abbreviated values can then be fed into fetchDietaryData, which will return the dietary data itself.

Usage

1
availableDietaryData(start.year = "2017")

Arguments

start.year

The year for which the user desires data. Must not be later than 2017 (the last year currently available). Defaults to "2017".

Value

A data.frame containing the names of the available dietary datasets for the given year and their abbreviated names.

Author(s)

Jack Leary

See Also

fetchDietaryData

Examples

1
availableDietaryData(start.year = "2013")

jr-leary7/SurveyQuantReg documentation built on Dec. 21, 2021, 3:14 a.m.