This code uses the pitchRx package to scrape mlb.com XML files to produce spraycharts for each player in the 2014 season based on the coordinates of the outcomes.
Spray Chart Shiny App
https://danmalter.shinyapps.io/Spray-Chart/
This code uses the pitchRx package to scrape mlb.com XML files to produce spraycharts for each player in the 2014 season based on the coordinates of the outcomes.
Spray Chart Shiny App
https://danmalter.shinyapps.io/Spray-Chart/