retrosheet.orgで記録されている、メジャーリーグのデータをダウンロードするパッケージです。
retrosheet関数に年度を指定すれば、その年のメジャーリーグの全イベントデータが取得できます。
注意: まだ1938年と1939年のデータだけしか準備出来ていません
97列、80MB程度のデータフレームがダウンロードされますので、注意して下さい。
library(retrosheet)
## 1938年のデータを取得したい場合
dat <- retrosheet(1938)
```````
## インストール方法
devtools::install_github()を使います。
```r
library(devtools)
install_github("gghatano/retrosheet")
The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at "www.retrosheet.org".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.