Description Usage Arguments Examples
This is DEV and needs to be transformed into a payload_method.
1 2 | scrape_statcast_savant(start_date, end_date, playerid = NULL,
player_type = NULL)
|
start_date |
Date of first game for which you want data. Format must be in YYYY-MM-DD format. |
end_date |
Date of last game for which you want data. Format must be in YYYY-MM-DD format. |
playerid |
The MLBAM ID for the player who's data you want to query. |
player_type |
The player type. Can be 'batter' or 'pitcher' |
1 2 3 4 5 6 7 8 | ## Not run:
scrape_statcast_savant(start_date = "2016-04-06", end_date = "2016-04-15", playerid = 621043, player_type='batter')
scrape_statcast_savant(start_date = "2016-04-06", end_date = "2016-04-15", playerid = 592789, player_type='pitcher')
scrape_statcast_savant(start_date = "2016-04-06", end_date = "2016-04-06")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.