Provides a comprehensive and curated collection of datasets related to the lungs, respiratory system, and associated diseases. This package includes epidemiological, clinical, experimental, and simulated datasets on conditions such as lung cancer, asthma, Chronic Obstructive Pulmonary Disease (COPD), tuberculosis, whooping cough, pneumonia, influenza, and other respiratory illnesses. It is designed to support data exploration, statistical modeling, teaching, and research in pulmonary medicine, public health, environmental epidemiology, and respiratory disease surveillance.
The PulmoDataSets package offers a thematically rich and diverse collection of datasets focused on the lungs, respiratory system, and associated diseases. It includes data related to chronic respiratory conditions such as asthma, chronic bronchitis, and COPD, as well as infectious diseases like tuberculosis, pneumonia, influenza, and whooping cough.
You can install the PulmoDataSets package from CRAN with the following R function:
install.packages("PulmoDataSets")
library(PulmoDataSets)
Each dataset in the PulmoDataSets package uses a suffix to denote the type of R object:
_df: data frame
_dt: data table
_tbl_df: tibble
_ts: time series
Below are selected example datasets included in the PulmoDataSets package:
bronchitis_Cardiff_df: Chronic Bronchitis in Cardiff Men.
smoking_UK_tbl_df: UK Smoking Habits.
nicotine_gum_df: Nicotine Gum and Smoking Cessation.
# Load the package
library(PulmoDataSets)
# List all datasets in the package
view_datasets_PulmoDataSets()
# Load dataset
data(nicotine_gum_df)
# Preview the dataset
head(nicotine_gum_df)
# Open in Viewer
View(nicotine_gum_df)