(legacy) Query Statcast by Date Range and Players
scrape_statcast_savant(
start_date = Sys.Date() - 1,
end_date = Sys.Date(),
playerid = NULL,
player_type = "batter",
...
)scrape_statcast_savant.Date(
start_date = Sys.Date() - 1,
end_date = Sys.Date(),
playerid = NULL,
player_type = "batter",
...
)
scrape_statcast_savant.default(
start_date = Sys.Date() - 1,
end_date = Sys.Date(),
playerid = NULL,
player_type = "batter",
...
)
scrape_statcast_savant_batter(start_date, end_date, batterid = NULL, ...)
scrape_statcast_savant_batter_all(start_date, end_date, batterid = NULL, ...)
scrape_statcast_savant_pitcher(start_date, end_date, pitcherid = NULL, ...)
scrape_statcast_savant_pitcher_all(start_date, end_date, pitcherid = NULL, ...)
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Returns a tibble with Statcast data.
Date of first game for which you want data. Format must be in YYYY-MM-DD format.
Date of last game for which you want data. Format must be in YYYY-MM-DD format.
The MLBAM ID for the player whose data you want to query.
The player type. Can be batter
or pitcher
.
Default is batter
currently ignored
The MLBAM ID for the batter whose data you want to query.
The MLBAM ID for the pitcher whose data you want to query.