Description Usage Arguments Examples
This is DEV and needs to be transformed into a payload_method
1 | statcast_payload(start, end, player_id = NULL, player_type = NULL)
|
start |
A start date passed as a character in ISO 8601 format. |
end |
An end date passed as a character in ISO 8601 format. |
player_id |
The MLBAM ID of a specific player. |
player_type |
The role of the player as a string. The default is "batter". |
1 2 3 4 5 6 7 8 | ## Not run:
statcast_payload(start = "2016-04-06", end = "2016-04-15", player_id = 621043, player_type='batter')
statcast_payload(start = "2016-04-06", end = "2016-04-15", player_id = 592789, player_type='pitcher')
statcast_payload(start = "2016-04-06", end = "2016-04-06")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.