Skip to contents

MLB Game Status Codes

Usage

mlb_game_status_codes()

Value

Returns a tibble with the following columns

col_nametypes
abstract_game_statecharacter
coded_game_statecharacter
detailed_statecharacter
status_codecharacter
reasoncharacter
abstract_game_codecharacter

Examples

# \donttest{
  try(mlb_game_status_codes())
#> ── MLB Game Status Codes data from MLB.com ────────── baseballr 1.2.0 ──
#>  Data updated: 2022-04-30 07:16:02 UTC
#> # A tibble: 197 × 6
#>    abstract_game_sta… coded_game_state detailed_state status_code reason
#>    <chr>              <chr>            <chr>          <chr>       <chr> 
#>  1 Final              F                Final: Tie, d… FW          Tied …
#>  2 Final              O                Game Over: Ti… OW          Tied …
#>  3 Live               M                Manager chall… MU          Tag-u…
#>  4 Live               M                Manager chall… MQ          Rules…
#>  5 Live               N                Umpire review… NU          Tag-u…
#>  6 Live               N                Umpire review… NQ          Rules…
#>  7 Final              O                Completed Ear… OM          Mercy 
#>  8 Final              F                Completed Ear… FM          Mercy 
#>  9 Live               M                Manager chall… MP          Home-…
#> 10 Live               N                Umpire review… NP          Home-…
#> # … with 187 more rows, and 1 more variable: abstract_game_code <chr>
# }