View source: R/mlb_team_alumni.R
| mlb_team_alumni | R Documentation | 
MLB Team Alumni
mlb_team_alumni(team_id = NULL, stat_group = NULL, season = NULL)
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.  | 
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 | 
  try(mlb_team_alumni(team_id = 137, stat_group = 'hitting', season = 2021))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.