Companion to Analyzing Baseball Data with R, 2nd edition.
- Official book page: https://www.crcpress.com/Analyzing-Baseball-Data-with-R-Second-Edition/Marchi-Albert-Baumer/p/book/9780815353515
- Book's blog: http://baseballwithr.wordpress.com/
In order to have a working copy of the code in the book, download the zip file of this repository and extract the content of the zip file in a folder of your convenience.
datafolder contains datasets used in the book, except those downloadable from websites, and those that are too large to store on GitHub (e.g., the full season Statcast files). In order to get the missing datasets, read the
readme.txtfiles stored inside the
wizardrysubfolders of the
scriptsfolder contains standalone R scripts that were referenced in the text.
chapter_codefolder contains all of the code that was written to generate each chapter. (e.g., the result of running
knitr::purl()on each of the chapter source files.)
October 15, 2018