powered by
Retrieve batting orders for a given MLB game
mlb_batting_orders(game_pk, type = "starting")
Returns a tibble that includes probable starting pitchers and the home plate umpire for the game_pk requested
game_pk
The unique game_pk identifier for the game
Whether to just return the starting lineup ('starting') or all batters that appeared ('all')
# \donttest{ try(mlb_batting_orders(game_pk=566001)) # }
Run the code above in your browser using DataLab