retrosheet: Import Professional Baseball Data from 'Retrosheet'

A collection of tools to import and structure the (currently) single-season event, game-log, roster, and schedule data available from <>. In particular, the event (a.k.a. play-by-play) files can be especially difficult to parse. This package does the parsing on those files, returning the requested data in the most practical R structure to use for sabermetric or other analyses.

Version: 1.1.6
Depends: R (≥ 2.10)
Imports: xml2 (≥ 1.2.2), stringi (≥ 0.4-1), httr (≥ 1.4.1), stringr (≥ 1.4.0), rvest (≥ 0.3.5)
Suggests: testthat (≥ 3.0.0), rmarkdown (≥ 2.0.0)
Published: 2024-02-28
DOI: 10.32614/CRAN.package.retrosheet
Author: Colin Douglas [aut, cre, cph], Richard Scriven [aut, cph]
Maintainer: Colin Douglas <colin at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
In views: SportsAnalytics
CRAN checks: retrosheet results


Reference manual: retrosheet.pdf


Package source: retrosheet_1.1.6.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): retrosheet_1.1.6.tgz, r-oldrel (arm64): retrosheet_1.1.6.tgz, r-release (x86_64): retrosheet_1.1.6.tgz, r-oldrel (x86_64): retrosheet_1.1.6.tgz
Old sources: retrosheet archive


Please use the canonical form to link to this page.