Retrosheet
Import Professional Baseball Data from 'Retrosheet'
Install / Use
/learn @rmscriven/RetrosheetREADME
retrosheet
Import Retrosheet data as a structured R object
retrosheet is an R package that downloads and parses the single-season event, gamelog, roster, and schedule
files from http://www.retrosheet.org into structured R objects for further analysis.
Currently, the main functions are
getRetrosheet()- This workhorse function returns the full seasonal data associated with the user-entered argumentsgetPartialGamelog()- An alternative to returning the full gamelog files. This function allows the user to choose the columns and date. Column names are made available by the global objectgamelogFields
Also included are convenience functions
getFileNames()- for obtaining a list of all zip files currently available for use by this packagegetTeamIDs()- for providing the team ID value to be used in theteamargument ofgetRetrosheet()getParkIDs()- for ballpark ID and name information
retrosheet version 1.0.2 is now available on CRAN, and can be installed with
install.packages("retrosheet")
This development version can be installed with
install.packages("devtools")
devtools::install_github("rmscriven/retrosheet")
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
