baseballr 1.6.0 R package documentation

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.


baseballr 1.6.0 R package documentation - cover page
Brand
baseballr
Document type
Other
Language
English
Pages
263
File format
PDF
File size
408 KB
Published
27 November, 2026
Updated
27 November, 2026
MD5 checksum
FC44C6151F1345663F0DA1BE1896E4AD

About this manual

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.

What's inside

  • batter_game_logs_fg
  • bref
  • bref_daily_batter
  • bref_daily_pitcher
  • bref_standings_on_date
  • bref_team_results
  • chadwick
  • chadwick_path
  • chadwick_player_lu
  • code_barrel

Frequently asked questions

What R version does baseballr require?

The package depends on R version 4.0.0 or higher.

Who are the authors of baseballr?

Bill Petti and Saiem Gilani are the authors, with Saiem Gilani as the maintainer.

Download PDF (408 KB)