Description Details Author(s) See Also
Since baseballr failed, I decided to write a package to scrape PITCHf/x dataset myself. This package provides a main function get_pitchfx to obtain the PITCHf/x data. It makes use of mlbstat api to obtain the fundamental dataset and do some manual cleaning to fetch the PITCHf/x dataset. You can either pass specific game_id or date to use this function.
PITCHf/x is a system using three permanently mounted cameras in the stadium to track the speed and location of a pitched baseball from the pitcher's mound to home plate with an accuracy of better than one mile per hour and one inch. With PITCHf/x, statistics such as the pitcher with the fastest fastball, or the pitcher with the sharpest-breaking curve, etc., can be analyzed. This package provides a convenient way to obtain PITCHf/x dataset.
Maintainer: Xuanbin Chen jaunechen@qq.com
Useful links:
Report bugs at https://github.com/McChickenNuggets/pitchfx/issues
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.