nhanes: Download an NHANES table and return as a data frame.

Description Usage Arguments Details Value Examples

View source: R/nhanes.R

Description

Use to download NHANES data tables that are in SAS format.

Usage

1
nhanes(nh_table)

Arguments

nh_table

The name of the specific table to retrieve.

Details

Downloads a table from the NHANES website in its entirety. NHANES tables are stored in SAS '.XPT' format. Function nhanes cannot be used to import limited access data.

Value

The table is returned as a data frame.

Examples

1
2
nhanes('BPX_E')
nhanes('FOLATE_F')

nhanesA documentation built on March 22, 2018, 9:03 a.m.