fetchQuestionnaires: Fetch NHANES questionnaire data for a given survey cycle.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/fetchQuestionnaires.R

Description

This function pulls questionnaire data from the CDC's NHANES survey for a user-provided year.

Usage

1
fetchQuestionnaires(start.year = "2017", survey.list = NULL)

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".

survey.list

A character vector containing the names of specific questionnaires the user would like to analyze. If none are provided, all questionnaires are returned. Defaults to NULL.

Value

A named list containing the requested questionnaire data.

Author(s)

Jack Leary

See Also

availableQuestionnaires

Examples

1
fetchQuestionnaires(start.year = "2017")

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