mlb_game_info {baseballr} | R Documentation |
Retrieve additional game information for major and minor league games
Description
Retrieve additional game information for major and minor league games
Usage
mlb_game_info(game_pk)
Arguments
game_pk |
The unique game_pk identifier for the game |
Value
Returns a tibble that includes supplemental information, such as weather, official scorer, attendance, etc., for the game_pk provided
col_name | types |
game_date | character |
game_pk | numeric |
venue_name | character |
venue_id | integer |
temperature | character |
other_weather | character |
wind | character |
attendance | character |
start_time | character |
elapsed_time | character |
game_id | character |
game_type | character |
home_sport_code | character |
official_scorer | character |
date | character |
status_ind | character |
home_league_id | integer |
gameday_sw | character |
Examples
try(mlb_game_info(game_pk = 566001))
[Package baseballr version 1.6.0 Index]