Skip to contents

MLB Jobs Umpires

Usage

mlb_jobs_umpires(sport_id = NULL, date = NULL)

Arguments

sport_id

Return information for a given sport_id.

date

Return information for a given date.

Value

Returns a tibble with the following columns

col_nametypes
jersey_numbercharacter
jobcharacter
job_codecharacter
titlecharacter
person_idinteger
person_full_namecharacter
person_linkcharacter

Examples

# \donttest{
  try(mlb_jobs_umpires(sport_id=1))
#> ── MLB Jobs Umpires data from MLB.com ─────────────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:30 UTC
#> # A tibble: 105 × 7
#>    jersey_number job    job_code title  person_id person_full_name
#>    <chr>         <chr>  <chr>    <chr>      <int> <chr>           
#>  1 67            Umpire UMPR     Umpire    596809 Ryan Additon    
#>  2 100           Umpire UMPR     Umpire    486200 David Arrieta   
#>  3 12            Umpire UMPR     Umpire    623938 Erich Bacchus   
#>  4 70            Umpire UMPR     Umpire    545402 John Bacon      
#>  5 71            Umpire UMPR     Umpire    490319 Jordan Baker    
#>  6 119           Umpire UMPR     Umpire    665576 Brock Ballou    
#>  7 29            Umpire UMPR     Umpire    503493 Sean Barber     
#>  8 23            Umpire UMPR     Umpire    427013 Lance Barksdale 
#>  9 16            Umpire UMPR     Umpire    483561 Lance Barrett   
#> 10 87            Umpire UMPR     Umpire    482608 Scott Barry     
#> # ℹ 95 more rows
#> # ℹ 1 more variable: person_link <chr>
# }