rnhanesdata-package: NHANES data package

Description Details Author(s) References

Description

This package contains tools for processing the NHANES 2003-2004 and 2005-2006 waves' accelerometry data as well as the resulting processed data. Specifically, the code contained herein will transform the "long format" accelerometry data, which is available for download from the CDC, to the 1440+ format with one row per subject-day, calculate wear/non-wear flags on the tranformed data, merge NHANES data from non-accelerometry sources, and process national mortality data linked to NHANES participants. In addition to code for processing the 2003-2006 accerlerometry data, this package contains code to: process and merge NHANES data across multiple "raw" (.xpt) data files which are downloaded from the NHANES website; and process linked mortality data for the NHANES 2003-2006 participants.

Details

This primary contents of this package are: 1) four data procesing functions and two functions helpful in analyzing NHANES data; 2) processed accelerometry, demographic, lifestyle, comorbiditiy, and mortality data for the NHANES 2003-2006 waves; and 3) raw data used to create the processed data in the package, excluding the “raw" accelerometer data due to package file size limitaitons. These three sets of content are described in more detail below.

The processed data included in the package are broadly divided into four categories: 1) activity count data; 2) wear/non-wear flags; 3) additional NHANES data; 4) linked mortality data.

Finally, this package also contains raw NHANES data (excluding accelerometry) and the 2011 publicly linked mortality data. These data are not publicly facing and therefore do not have documentation. However, all variables contained in the "raw NHANES data" files listed below are the process_covar function. In addition, the process_mort uses the raw "linked mortality data" to create the processed mortality data included in the package.

Author(s)

Andrew Leroux <aleroux2@jhu.edu>

Ciprian Crainiceanu

References

Data used to create this package

Estimating wear/non-wear time:


andrew-leroux/rnhanesdata documentation built on March 6, 2020, 11:35 p.m.