Skip to contents

All vignettes

Getting Started with baseballr

Getting started with using baseballr and men’s baseball data.

NCAA Scraping

Pulling college baseball player and team statistics from the NCAA’s website with ncaa_scrape(), including batting, pitching and fielding splits by season.

Plotting Statcast data

Drawing strike-zone plots and pitch locations from Statcast data with ggplot2, including how to place the zone correctly for left- and right-handed batters.

Using Statcast Pitch Data

Working with pitch-by-pitch Statcast data from Baseball Savant - acquiring it with statcast_search() and shaping it for pitch-level analysis.