
Retrieve additional game information for major and minor league games
Source:R/mlb_game_info.R
      mlb_game_info.RdRetrieve additional game information for major and minor league games
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
# \donttest{
  try(mlb_game_info(game_pk = 566001))
#> ── MLB Game Info data from MLB.com ────────────────── baseballr 1.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:14 UTC
#> # A tibble: 1 × 18
#>   game_date  game_pk venue_name venue_id temperature other_weather wind 
#>   <chr>        <dbl> <chr>         <int> <chr>       <chr>         <chr>
#> 1 2019-04-29  566001 Citi Field     3289 51          Cloudy        10 m…
#> # ℹ 11 more variables: attendance <chr>, start_time <chr>,
#> #   elapsed_time <chr>, game_id <chr>, game_type <chr>,
#> #   home_sport_code <chr>, official_scorer <chr>, date <chr>,
#> #   status_ind <chr>, home_league_id <int>, gameday_sw <chr>
# }