Hosted by the CMU Statistics & Data Science Department and Carnegie Mellon Sports Analytics Club, the Carnegie Mellon University Baseball Analytics Workshop is an interactive workshop focusing on data exploration skills with baseball data!
Intro to Exploring Baseball Data with R
The starter code script for the first of the workshop, using
ggplot2 to explore historical baseball data from the
Lahman package is available here.
PITCHf/x and Statcast Resources
The starter code script for the second half of the workshop, dedicated to using PITCHf/x and Statcast data for creating a game plan for the Pirates against the Reds, is available here.
Additional resources that will be useful for working with this data include:
- PITCHf/x and Statcast glossary
- Pitch type information
- Jim Albert’s blog: Exploring Baseball Data with R
- Bill Petti’s
- Carson Sievert’s
The repository for all of the workshop’s material is located here.
All PITCHf/x and Statcast data, made available by MLBAM, was accessed using the