statcast_search()
:Query Statcast by Date Range and Players.
statcast_search_batters()
:Query Statcast Batters by Date Range and Player.
statcast_search_pitchers()
:Query Statcast Pitchers by Date Range and Player.
statcast_leaderboards()
:Query Baseball Savant Leaderboards.
statcast_search(start_date = "2016-04-06",
end_date = "2016-04-15",
player_type = 'batter')
## The above is equivalent to:
statcast_search_batters(start_date = "2016-04-06",
end_date = "2016-04-15",
batterid = NULL)
statcast_search(start_date = "2016-04-06",
end_date = "2016-04-15",
player_type = 'pitcher')
## The above is equivalent to:
statcast_search_pitchers(start_date = "2016-04-06",
end_date = "2016-04-15",
pitcherid = NULL)
correa <- statcast_search(start_date = "2016-04-06",
end_date = "2016-04-15",
playerid = 621043,
player_type = 'batter')
## The above is equivalent to:
correa <- statcast_search_batters(start_date = "2016-04-06",
end_date = "2016-04-15",
batterid = 621043)
noah <- statcast_search(start_date = "2016-04-06",
end_date = "2016-04-15",
playerid = 592789,
player_type = 'pitcher')
## The above is equivalent to:
noah <- statcast_search_pitchers(start_date = "2016-04-06",
end_date = "2016-04-15",
pitcherid = 592789)
statcast_leaderboards(leaderboard = "exit_velocity_barrels", year = 2021)