Statcast

  • Tracks more than PITCHf/x including movement of the individual players

  • Limited data is provided to public by Baseball Savant

  • Baseballr package provides tools to download Baseball Savant data (and more!)

At the moment, this doesn’t seem to be working though with the CRAN version. Need to install the development version:

# Install the remotes package if you haven't already
install.packages("remotes")
remotes::install_github("BillPetti/baseballr")
library(baseballr)
noah <- statcast_search(start_date = "2016-04-06",
                          end_date = "2016-04-15", 
                          playerid = 592789, 
                          player_type = 'pitcher')
  • Example Question: How frequently do MLB teams employ infield shifts?