nhanes: National Health & Nutrition Examination Survey

nhanesR Documentation

National Health & Nutrition Examination Survey

Description

Selected variables from the NHANES 2009-2012 data collected by the US National Center for Health Statistics (NCHS).

Usage

data(nhanes)

Details

ID

Subject's identifier

Gender

Gender (sex) of study participant coded as male or female

Age

Age in years at screening of study participant. Note: Subjects 80 years or older were recorded as 80.

AgeDecade

Categorical variable derived from age with levels 0-9, 10-19, ... 70+

Education

Educational level of study participant Reported for participants aged 20 years or older.

MaritalStatus

Marital status of study participant. Reported for participants aged 20 years or older.

HomeRooms

How many rooms are in home of study participant (counting kitchen but not bathroom). 13 rooms = 13 or more rooms.

HomeOwn

One of Home, Rent, or Other indicating whether the home of study participant or someone in their family is owned, rented or occupied by some other arrangement.

Weight

Weight in kg

Height

Standing height in cm. Reported for participants aged 2 years or older.

BMI

Body mass index. Reported for participants aged 2 years or older.

BPSysAve

Combined systolic blood pressure reading.

BPDiaAve

Combined diastolic blood pressure reading

SleepTrouble

Study participant has sleep trouble

Diabetes

Study participant told by a doctor or health professional that they have diabetes. Reported for participants aged 1 year or older.

DiabetesAge

Age of study participant when first told they had diabetes.

Depressed

Self-reported number of days where participant felt down, depressed or hopeless. Reported for participants aged 18 years or older. One of None, Several, Majority (more than half the days), or AlmostAll.

SleepHrsNight

Self-reported number of hours study participant usually gets at night on weekdays or workdays. Reported for participants aged 16 years and older.

SmokeNow

Study participant currently smokes cigarettes regularly. Reported for participants aged 20 years or older

SmokeAge

Age study participant first started to smoke cigarettes fairly regularly. Reported for participants aged 20 years or older.

Value

A data frame with 10,000 rows and 20 variables.

Source

Selected variables from the NHANES data in the NHANES R package; https://cran.r-project.org/web/packages/nhanesA/nhanesA.pdf. It is originally assembled by Michelle Dalrymple of Cashmere High School and Chris Wild of the University of Auckland, New Zealand for use in teaching statistics.

Examples

data(nhanes)

statcourses/dsEssex documentation built on Jan. 10, 2024, 4:32 p.m.