baseballr: Acquiring and Analyzing Baseball Data

Provides numerous utilities for acquiring and analyzing baseball data from online sources such as Baseball Reference <>, FanGraphs <>, and the MLB Stats API <>.

Version: 1.3.0
Depends: R (≥ 4.0.0)
Imports: cli (≥ 3.0.0), data.table (≥ 1.14.0), dplyr, ggplot2, glue, httr (≥ 0.5), janitor, jsonlite, lubridate, magrittr, purrr (≥ 0.3.0), Rcpp, RcppParallel, rlang (≥ 0.4.0), rvest (≥ 1.0.0), stringr (≥ 1.3.0), tibble (≥ 3.0), tidyr (≥ 1.0.0)
Suggests: crayon (≥ 1.3.4), curl, DBI, furrr, future, ggrepel, knitr, pacman, progressr (≥ 0.6.0), qs (≥ 0.25.1), reshape2, rmarkdown, RSQLite, scales, stringi, stats, testthat, usethis (≥ 1.6.0), xml2 (≥ 1.3), zoo
Published: 2022-09-09
Author: Bill Petti [aut], Saiem Gilani [aut, cre], Ben Baumer [ctb], Ben Dilday [ctb], Robert Frey [ctb], Camden Kay [ctb]
Maintainer: Saiem Gilani <saiem.gilani at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
In views: SportsAnalytics
CRAN checks: baseballr results


Reference manual: baseballr.pdf
Vignettes: Getting Started with baseballr
NCAA Scraping
Plotting Statcast data
Using Statcast Pitch Data


Package source: baseballr_1.3.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): baseballr_1.3.0.tgz, r-oldrel (arm64): baseballr_1.3.0.tgz, r-release (x86_64): baseballr_1.3.0.tgz, r-oldrel (x86_64): baseballr_1.3.0.tgz
Old sources: baseballr archive


Please use the canonical form to link to this page.