Skip to contents

Data example from the 2003-2004 National Health and Nutrition Examination Survey (NHANES) dataset. The dataset is available at the website: http://wwwn.cdc.gov/nchs/nhanes/search/nhanes03_04.aspx. This example only includes 218 individuals, which gives 1,526 daily profiles, from a total of 7,176 participants in the physical activity survey.

Usage

data(acceldata_list)

Format

A list with 4 components:

PA

A data frame with 1,526 observations and 1,440 variables. Each row corresponds to a daily profile, with columns V1 to V1440 representing accelerometer counts recorded minute by minute throughout the day.

label

A data frame with 1,526 observations and 3 variables:

personid

Integer identifying the individual

daylabel

Integer indicating the label of the day

personid2

Integer providing an alternative identifier of the individual

flag

A data frame with 1,526 observations and 1,440 variables. The structure mirrors that of PA, with values indicating data quality (e.g., 0 = valid, 1 = flagged).

demo

A data frame containing demographic information for the 218 participants with 5 variables:

personid

Integer identifying the participant

age

Integer indicating age

sex

Factor with 2 levels indicating sex

bmi

Numeric variable with body mass index

race

Factor with 2 levels indicating race

Source

Data taken from the accelmissing package version 2.2.

Details

The dataset name has been kept as 'acceldata_list' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the healthmotionR package and assists users in identifying its specific characteristics. The suffix 'list' indicates that the dataset is stored as a list containing multiple data frames. The original content has not been modified in any way.