Skip to contents

Retrieve additional game content for major and minor league games

Usage

mlb_game_content(game_pk)

Arguments

game_pk

The unique game_pk identifier for the game

Value

Returns a tibble of game content data with the following columns:

col_nametypes
titlecharacter
epg_idinteger
content_idcharacter
media_idcharacter
media_statecharacter
media_feed_typecharacter
media_feed_sub_typecharacter
call_letterscharacter
fox_auth_requiredlogical
tbs_auth_requiredlogical
espn_auth_requiredlogical
fs1auth_requiredlogical
mlbn_auth_requiredlogical
free_gamelogical
typecharacter
descriptioncharacter
rendition_namecharacter
languagecharacter

Examples

# \donttest{
  try(mlb_game_content(game_pk = 566001))
#> ── MLB Game Content data from MLB.com ─────────────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:13 UTC
#> # A tibble: 8 × 21
#>   title       call_letters espn_auth_required tbs_auth_required
#>   <chr>       <chr>        <lgl>              <lgl>            
#> 1 MLBTV       SNY          FALSE              FALSE            
#> 2 MLBTV       FSO          FALSE              FALSE            
#> 3 MLBTV-Audio NA           NA                 NA               
#> 4 MLBTV-Audio NA           NA                 NA               
#> 5 MLBTV-Audio NA           NA                 NA               
#> 6 Audio       WCBS 880     NA                 NA               
#> 7 Audio       WLW          NA                 NA               
#> 8 Audio       ESPN-1050    NA                 NA               
#> # ℹ 17 more variables: espn2auth_required <lgl>, game_date <chr>,
#> #   content_id <chr>, fs1auth_required <lgl>, media_id <chr>,
#> #   media_feed_type <chr>, mlbn_auth_required <lgl>,
#> #   fox_auth_required <lgl>, media_feed_sub_type <chr>,
#> #   free_game <lgl>, epg_id <int>, media_state <chr>,
#> #   abc_auth_required <lgl>, rendition_name <chr>, description <chr>,
#> #   language <chr>, type <chr>
# }