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.2.0 ──
#>  Data updated: 2022-04-30 07:16:43 UTC
#> # A tibble: 16 × 7
#>    jersey_number job             job_id title person_id person_full_name
#>    <chr>         <chr>           <chr>  <chr>     <int> <chr>           
#>  1 19            Manager         MNGR   Mana…    137002 Gabe Kapler     
#>  2 0             Bullpen Coach   COAU   Bull…    503360 Craig Albernaz  
#>  3 84            Pitching Coach  COAP   Pitc…    457732 Andrew Bailey   
#>  4 97            Pitching Coach  COAP   Dire…    446454 Brian Bannister 
#>  5 50            Bench Coach     COAB   Benc…    678989 Kai Correa      
#>  6 88            Assistant Hitt… COAA   Dire…    682508 Dustin Lind     
#>  7 87            Assistant Pitc… COPA   Assi…    448258 J.P. Martinez   
#>  8 79            Quality Contro… QUAC   Qual…    455512 Nick Ortiz      
#>  9 00            First Base Coa… COA1   Firs…    460322 Antoan Richards…
#> 10 77            Hitting Coach   COAT   Hitt…    643585 Justin Viele    
#> 11 23            Third Base Coa… COA3   Thir…    124588 Ron Wotus       
#> 12 91            Major League C… MAJC   Majo…    506912 Mark Hallberg   
#> 13 92            Major League C… MAJC   Majo…    693136 Alyssa Nakken   
#> 14 99            Bullpen Catcher BCAT   Bull…    666065 Taira Uematsu   
#> 15 98            Coach           COAC   Dire…    445010 Fernando Perez  
#> 16 96            Assistant Coach ASSC   Assi…    657804 Brant Whiting   
#> # … with 1 more variable: person_link <chr>
# }