Learn R Programming

PulmoDataSets

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.

Installation

You can install the PulmoDataSets package from CRAN with the following R function:


install.packages("PulmoDataSets")

Load the Package


library(PulmoDataSets)

Dataset Suffixes

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

Example Datasets

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.

Example Code:


# Load the package

library(PulmoDataSets)

# List all datasets in the package

view_datasets_pulmo()

# Load dataset

data(nicotine_gum_df)

# Preview the dataset

head(nicotine_gum_df)

# Open in Viewer

View(nicotine_gum_df)

Copy Link

Version

Install

install.packages('PulmoDataSets')

Monthly Downloads

491

Version

0.1.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Renzo Caceres Rossi

Last Published

June 3rd, 2025

Functions in PulmoDataSets (0.1.0)

chicago_pollution_df

Chicago Mortality and Pollution
danish_lung_incidence_df

Lung cancer in 4 Danish cities 1968-71
children_respiratory_rates_df

Children Respiratory Rates Data
engwales_cancer_mortality_df

UK lung and nasal cancer deaths 1936–80
lungca_cancer_deaths_df

Male Lung Cancer by Smoking Duration
lung_cancer_survival_df

Lung Cancer Survival Data
smoking_doctors_df

Smoking Deaths Among Doctors (British)
tlc_lung_capacity_df

Total Lung Capacity
respiratory_trial_df

Respiratory Illness Clinical Trial
whooping_cough_dk_df

Copenhagen Whooping Cough 1900-1937
smoking_UK_tbl_df

UK Smoking Habits
respiratory_infections_df

Azithromycin for Respiratory Infections
smoking_youth_tbl_df

Youth Smoking and Lung Function
view_datasets_pulmo

View Available Datasets in PulmoDataSets
respiratory_trial_outcomes_df

Ordinal respiratory outcomes
patients_lung_diseases_tbl_df

Lung Disease Patients
ohio_children_wheeze_df

Ohio Children Wheeze Status
whooping_cough_ts

Whooping Cough Deaths in London (1740-1881)
whooping_cough_phila_df

Philadelphia Whooping Cough 1925-1947
pneumonia_influenza_ts

Monthly Pneumonia and Influenza Deaths in the U.S.
smoking_lung_cancer_df

Smoking and Lung Cancer
respiratory_clinical_trial_df

Respiratory Clinical Trial
tuberculosis_vaccine_df

BCG Vaccine Against Tuberculosis
veterans_lung_cancer_df

Veterans Administration Lung Cancer Study
PulmoDataSets

PulmoDataSets: A Curated Collection of Pulmonary and Respiratory Disease Datasets
bronchitis_Cardiff_df

Chronic Bronchitis in Cardiff Men
asthma_patients_tbl_df

COPD and Asthma Patients
UK_female_lung_deaths_ts

UK Female Lung Disease Deaths
air_polution_mortality_df

Air Pollution and Mortality
UK_male_lung_deaths_ts

UK Male Lung Disease Deaths
ai_ipn_performance_dt

AI Assessment of Pulmonary Nodules
USRegionalMortality_df

US Regional Mortality Rates by Cause and Gender
USMortality_df

US Mortality Rates by Cause and Gender
neonatal_intubation_times_df

Neonatal Intubation Simulation
child_wheeze_pollution_df

Child Wheeze and Pollution
lung_nodules_detection_dt

Incidental or Screen-Detected Lung Nodules
influenza_us_1975_df

US 1975-76 Influenza-Like Illness Data
nicotine_gum_df

Nicotine Gum and Smoking Cessation