Skip to contents

Acquire time codes for Major and Minor League games

Usage

mlb_game_timecodes(game_pk)

Arguments

game_pk

The game_pk for the game requested

Value

Returns a tibble that includes time codes from the game_pk requested

col_nametypes
timecodes (MMDDYYYY_HHMMSS)numeric

Examples

# \donttest{
  try(mlb_game_timecodes(game_pk = 632970))
#> ── MLB Game Timecodes data from MLB.com ───────────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:18 UTC
#> # A tibble: 487 × 1
#>    timecodes      
#>    <chr>          
#>  1 20210808_213535
#>  2 20210808_224317
#>  3 20210808_230851
#>  4 20210808_230925
#>  5 20210808_230927
#>  6 20210808_230954
#>  7 20210808_231025
#>  8 20210808_231026
#>  9 20210808_231038
#> 10 20210808_231047
#> # ℹ 477 more rows
# }