nhanes: National Health and Nutrition Examination Survey

nhanesR Documentation

National Health and Nutrition Examination Survey

Description

The National Health and Nutrition Examination Survey (NHANES) is a research survey distributed to adults and children across the United States to examine health and nutritional status nationwide. It is unique in that it conducts both interviews and physical examination to produce their data. The survey is run by the National Center for Health Statistics (NCHS), a part of the Centers for Disease Control and Prevention.

Usage

nhanes

Format

A tibble with 10,000 observations and 15 variables:

sex

character variable with values "Male" and "Female"

survey

integer variable with the year the survey was conducted in. Most tests were conducted across two years, so the earlier year is used.

age

character variable for age in years

race

character variable with values "White", "Black", "Hispanic", "Mexican", and "Other"

education

factor variable with levels "Middle school" < "High school" < "Some college" < "College"

hh_income

factor variable for household income groups with levels "0-4999" < ... < "more 99999"

weight

double variable for weight in kilograms

height

double variable for height in centimeters

bmi

double variable for body mass index

pulse

integer variable for pulse in beats per minute or bpm

diabetes

integer variable with values 0/1 indicating whether patient suffers from diabetes

general_health

integer variable for general health ranked from 1-5. 1 maps to "poor", 2 is "fair", 3 is "good", 4 is "very good", and 5 is "excellent".

depressed

factor variable Self-reported number of days where participant felt down, depressed or hopeless. Reported for participants aged 18 years or older. with levels, "Several", "None", "Most" number of days over two week period. Survey answers included: "Not at all", "Several days", "More than half the days", "Nearly every day" (source: NHANES DPQ_F (2009-2010))

pregnancies

integer variable for number of pregnanices. NA if the individual, regardless of sex, hasn't experienced a pregnancy

sleep_night_hrs

integer value for hours of sleep per night on average

Details

In order to get a demographically diverse range of responses, minority groups were surveyed more heavily. However, this skewed the survey results to have an inaccurate demographic makeup. To address this, some observations of more common groups are resampled in the data.

Author(s)

David Kane

Source

https://cran.r-project.org/web/packages/NHANES/NHANES.pdf


PPBDS/primer.data documentation built on Sept. 4, 2024, 2:58 p.m.