MLB Team Alumni
Arguments
- team_id
 Team ID to return information and ranking for a particular statistic for a particular team.
- stat_group
 Stat group to return information and ranking for a particular statistic in a particular group.
- season
 Year to return information and ranking for a particular statistic in a given year.
Value
Returns a tibble with the following columns
| col_name | types | 
| player_id | integer | 
| player_full_name | character | 
| link | character | 
| first_name | character | 
| last_name | character | 
| primary_number | character | 
| birth_date | character | 
| current_age | integer | 
| birth_city | character | 
| birth_country | character | 
| height | character | 
| weight | integer | 
| active | logical | 
| use_name | character | 
| middle_name | character | 
| boxscore_name | character | 
| nick_name | character | 
| gender | character | 
| name_matrilineal | character | 
| is_player | logical | 
| is_verified | logical | 
| pronunciation | character | 
| mlb_debut_date | character | 
| name_first_last | character | 
| name_slug | character | 
| first_last_name | character | 
| last_first_name | character | 
| last_init_name | character | 
| init_last_name | character | 
| full_fml_name | character | 
| full_lfm_name | character | 
| strike_zone_top | numeric | 
| strike_zone_bottom | numeric | 
| alumni_last_season | character | 
| birth_state_province | character | 
| draft_year | integer | 
| primary_position_code | character | 
| primary_position_name | character | 
| primary_position_type | character | 
| primary_position_abbreviation | character | 
| bat_side_code | character | 
| bat_side_description | character | 
| pitch_hand_code | character | 
| pitch_hand_description | character | 
Examples
# \donttest{
  try(mlb_team_alumni(team_id = 137, stat_group = 'hitting', season = 2021))
#> ── MLB Team Alumni data from MLB.com ──────────────── baseballr 1.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:50 UTC
#> # A tibble: 43 × 46
#>    player_id player_full_name  link  first_name last_name primary_number
#>        <int> <chr>             <chr> <chr>      <chr>     <chr>         
#>  1    501303 Ehire Adrianza    /api… Ehire      Adrianza  13            
#>  2    542881 Tyler Anderson    /api… Tyler      Anderson  31            
#>  3    641312 Shaun Anderson    /api… Shaun      Anderson  NA            
#>  4    624414 Christian Arroyo  /api… Christian  Arroyo    25            
#>  5    623214 Abiatal Avelino   /api… Abiatal    Avelino   NA            
#>  6    642772 Luis Alexander B… /api… Luis       Basabe    75            
#>  7    542963 Rob Brantly       /api… Robert     Brantly   30            
#>  8    518516 Madison Bumgarner /api… Madison    Bumgarner 40            
#>  9    502239 Trevor Cahill     /api… Trevor     Cahill    NA            
#> 10    593525 Orlando Calixte   /api… Orlando    Calixte   16            
#> # ℹ 33 more rows
#> # ℹ 40 more variables: birth_date <chr>, current_age <int>,
#> #   birth_city <chr>, birth_country <chr>, height <chr>, weight <int>,
#> #   active <lgl>, use_name <chr>, use_last_name <chr>,
#> #   middle_name <chr>, boxscore_name <chr>, nick_name <chr>,
#> #   gender <chr>, name_matrilineal <chr>, is_player <lgl>,
#> #   is_verified <lgl>, pronunciation <chr>, mlb_debut_date <chr>, …
# }
