Package: retrosheet 1.1.6
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 <https://www.retrosheet.org>. 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.
Authors:
retrosheet_1.1.6.tar.gz
retrosheet_1.1.6.zip(r-4.5)retrosheet_1.1.6.zip(r-4.4)retrosheet_1.1.6.zip(r-4.3)
retrosheet_1.1.6.tgz(r-4.4-any)retrosheet_1.1.6.tgz(r-4.3-any)
retrosheet_1.1.6.tar.gz(r-4.5-noble)retrosheet_1.1.6.tar.gz(r-4.4-noble)
retrosheet_1.1.6.tgz(r-4.4-emscripten)retrosheet_1.1.6.tgz(r-4.3-emscripten)
retrosheet.pdf |retrosheet.html✨
retrosheet/json (API)
NEWS
# Install 'retrosheet' in R: |
install.packages('retrosheet', repos = c('https://colindouglas.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/colindouglas/retrosheet/issues
baseball-analyticsbaseball-databaseball-statisticsgamelogretrosheet
Last updated 9 months agofrom:6b5d79f182. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | OK | Oct 26 2024 |
R-4.5-linux | OK | Oct 26 2024 |
R-4.4-win | OK | Oct 26 2024 |
R-4.4-mac | OK | Oct 26 2024 |
R-4.3-win | OK | Oct 26 2024 |
R-4.3-mac | OK | Oct 26 2024 |
Exports:gamelogFieldsget_retrosheetgetFileNamesgetParkIDsgetPartialGameloggetRetrosheetgetTeamIDs
Dependencies:askpassclicurlfansigluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigR6rlangrvestselectrstringistringrsystibbleutf8vctrsxml2
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Import single-season retrosheet data as data frames | get_retrosheet |
Files currently available for download | getFileNames |
A data frame of ballpark IDs | getParkIDs |
Partial parser for game-log files | gamelogFields getPartialGamelog |
Import single-season retrosheet data as a structured R object | getRetrosheet |
Retrieve team IDs for event files | getTeamIDs |