Skip to contents

Retrieve probable starters for a given MLB game

Usage

mlb_probables(game_pk)

Arguments

game_pk

The unique game_pk identifier for the game

Value

Returns a tiible that includes probable starting pitchers and the home plate umpire for the game_pk requested including the following columns:

col_nametypesdescription
game_pkintegerUnique game identifier.
game_datecharacterDate of the game (YYYY-MM-DD).
fullNamecharacterFull name of the probable starting pitcher.
idintegerMLBAM player ID of the probable starting pitcher.
teamcharacterTeam name for the probable pitcher.
team_idintegerMLBAM team ID for the probable pitcher.
home_plate_full_namecharacterFull name of the home plate umpire.
home_plate_idintegerMLBAM ID of the home plate umpire.

Examples

# \donttest{
  try(mlb_probables(566001))
#> ── MLB Probables data from MLB.com ────────────────── baseballr 2.0.0 ──
#>  Data updated: 2026-06-12 14:09:46 UTC
#> # A tibble: 2 × 8
#>   game_pk game_date  fullName      id team  team_id home_plate_full_name
#>     <int> <chr>      <chr>      <int> <chr>   <int> <chr>               
#> 1  566001 2019-04-29 Tanner R… 543699 Cinc…     113 Gabe Morales        
#> 2  566001 2019-04-29 Zack Whe… 554430 New …     121 Gabe Morales        
#> # ℹ 1 more variable: home_plate_id <int>
# }