MSBStatsData MSBStatsData hex sticker

MSBStatsData provides curated teaching datasets for statistics and data science courses at the Münster School of Business at FH Münster.

The package is designed for reproducible exercises and solutions in R, with data that works well across core topics like frequencies, location and dispersion measures, association, regression, and introductory time series analysis.

Installation

install.packages("MSBStatsData")

# development version
# install.packages("pak")
# # pak::pak("mchlbckr/MSBStatsData")
install.packages("MSBStatsData", repos = c('https://mchlbckr.r-universe.dev', 'https://cloud.r-project.org'))

Quick start

library(MSBStatsData)

data("cinema_visitors")
head(cinema_visitors)

data("de_energy_prices")
subset(
  de_energy_prices,
  series %in% c("electricity", "transport_fuels")
)[1:6, c("date", "series", "price_index_2015_100")]

Selected datasets

Listing all datasets

data(package = "MSBStatsData")

Notes