Description Usage Arguments Value Examples
This function allows you to scrape all leaderboard statistics from the Baseball Savant batted ball data leaderboard
1 2 | statcast_leaderboard(bat_pitch = "pit", year = NULL,
from.date = NULL, qual = 20)
|
bat_pitch |
either 'bat' or 'pit' |
year |
YYYY number format |
from.date |
YYYY-MM-DD format |
qual |
Number of ABs that meets the qualification |
data frame
1 | statcast<-statcast_leaderboard('bat', 2016, "2016-04-10", 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.