Skip to contents

MLB Team Coaches

Usage

mlb_team_coaches(team_id = NULL, date = NULL, season = NULL)

Arguments

team_id

Team ID to return team coach information for.

date

Date to return team coach information for.

season

Year to return team coach information for.

Value

Returns a tibble with the following columns

col_nametypes
jersey_numbercharacter
jobcharacter
job_idcharacter
titlecharacter
person_idinteger
person_full_namecharacter
person_linkcharacter

Examples

# \donttest{
  try(mlb_team_coaches(team_id = 137, season = 2021))
#> ── MLB Team Coaches data from MLB.com ─────────────── baseballr 1.6.0 ──
#>  Data updated: 2024-04-13 21:56:50 UTC
#> # A tibble: 27 × 7
#>    jersey_number job            job_id title  person_id person_full_name
#>    <chr>         <chr>          <chr>  <chr>      <int> <chr>           
#>  1 19            Manager        MNGR   Manag…    137002 Gabe Kapler     
#>  2 0             Bullpen Coach  COAU   Bullp…    503360 Craig Albernaz  
#>  3 84            Pitching Coach COAP   Pitch…    457732 Andrew Bailey   
#>  4 97            Pitching Coach COAP   Direc…    446454 Brian Bannister 
#>  5 6             Manager        MNGR   Manag…    118942 Bob Melvin      
#>  6 81            Bullpen Coach  COAU   Bullp…    110191 Garvin Alston   
#>  7 95            Hitting Coach  COAT   Hitti…    150100 Pat Burrell     
#>  8 52            Bench Coach    COAB   Bench…    134342 Ryan Christenson
#>  9 50            Bench Coach    COAB   Bench…    678989 Kai Correa      
#> 10 82            Hitting Coach  COAT   Hitti…    452778 Donnie Ecker    
#> # ℹ 17 more rows
#> # ℹ 1 more variable: person_link <chr>
# }