View source: R/statsapi_batting_orders.R
statsapi_batting_orders | R Documentation |
Retrieve batting orders for a given MLB game via the MLB api http://statsapi.mlb.com/api/
statsapi_batting_orders(game_pk)
game_pk |
The unique game_pk identifier for the game |
type |
Whether to just return the starting lineup ('starting') or all batters that appeared ('all') |
Returns a data frame that includes probable starting pitchers and the home plate umpire for the game_pk provided requested
## Not run: statsapi_batting_orders(566001)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.