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.2.0 ──
#>  Data updated: 2022-04-30 07:16:02 UTC
#> # A tibble: 475 × 1
#>    timecodes      
#>    <chr>          
#>  1 20210808_213535
#>  2 20210808_224317
#>  3 20210808_230851
#>  4 20210808_230927
#>  5 20210808_230954
#>  6 20210808_231025
#>  7 20210808_231026
#>  8 20210808_231038
#>  9 20210808_231047
#> 10 20210808_231115
#> # … with 465 more rows
# }