sleep_data: Sleep Health and Lifestyle Dataset

sleep_dataR Documentation

Sleep Health and Lifestyle Dataset

Description

The database is an extract of another database extracted from a publication on Kaggle (public domain). The sleep health and lifestyle dataset consists of 374 rows and 8 columns, covering a wide range of variables related to sleep and daily habits. It includes details such as gender, age, occupation, sleep duration, sleep quality, physical activity level, stress levels, heart rate, daily steps, and the presence or absence of sleep disorders.

Usage

sleep_data

Format

A data frame with 374 rows and 9 variables:

Gender

Gender of the person (Male/Female).

Age

Person's age in years.

Sleep.Duration

Number of hours the person sleeps per day.

Quality.of.Sleep

A subjective rating of sleep quality, which takes a discrete value from 1 to 10.

Physical.Activity.Level

Number of minutes/day that the person performs physical activity daily.

Stress.Level

A subjective rating of the level of stress experienced by the person, which takes a discrete value ranging from 1 to 10. A higher value indicates a higher level of stress.

Heart.Rate

The person's resting heart rate in beats per minute.

Daily.Steps

Number of steps the person takes per day.

Sleep.Disorder

Presence or absence of a sleep disorder in the person (None, Insomnia, Sleep Apnea).

Source

Original database: https://www.kaggle.com/datasets/uom190346a/sleep-health-and-lifestyle-dataset

Modified data subset: https://raw.githubusercontent.com/Dfranzani/Bases-de-datos-para-cursos/main/2023-1/sleep2.csv


Dfranzani/MTRGLM documentation built on March 28, 2024, 1:34 a.m.