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.1
Depends: R (≥ 2.10)
Imports: xml2 (≥ 1.2.2), data.table (≥ 1.9.4), stringi (≥ 0.4-1), httr (≥ 1.4.1), stringr (≥ 1.4.0), rvest (≥ 0.3.5), purrr (≥ 0.3.3), tibble (≥ 2.1.3), readr (≥ 1.3.1), lubridate (≥ 1.7.4)
Suggests: testthat (≥ 2.1.0)
Published: 2020-03-23
Author: Colin Douglas [aut, cre, cph], Richard Scriven [aut, cph]
Maintainer: Colin Douglas <colindouglas at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README NEWS
CRAN checks: retrosheet results


Reference manual: retrosheet.pdf
Package source: retrosheet_1.1.1.tar.gz
Windows binaries: r-devel:, r-devel-gcc8:, r-release:, r-oldrel: not available
OS X binaries: r-release: retrosheet_1.1.1.tgz, r-oldrel: retrosheet_1.1.1.tgz
Old sources: retrosheet archive


Please use the canonical form to link to this page.