The baseballr R package version 1.6.0 provides utilities for acquiring and analyzing baseball data from Baseball Reference, FanGraphs, and the MLB Stats API.
This document describes the baseballr R package, version 1.6.0, which provides numerous utilities for acquiring and analyzing baseball data from online sources such as Baseball Reference, FanGraphs, and the MLB Stats API.
The package depends on R (>= 4.0.0) and imports packages including cli, data.table, dplyr, ggplot2, glue, httr, janitor, jsonlite, lubridate, magrittr, purrr, Rcpp, RcppParallel, rlang, rvest, stringr, tibble, and tidyr.
The package depends on R version 4.0.0 or higher.
Bill Petti and Saiem Gilani are the authors, with Saiem Gilani as the maintainer.