mlb_awards_recipient {baseballr} | R Documentation |
MLB Award Recipients
Description
MLB Award Recipients
Usage
mlb_awards_recipient(
award_id = NULL,
sport_id = NULL,
league_id = NULL,
season = NULL
)
Arguments
award_id |
award_id to return a directory of players for a given award. |
sport_id |
sport_id to return a directory of players for a given aware in a specific sport. |
league_id |
league_id(s) to return a directory of players for a given award in a specific league. Format '103,104' |
season |
Year(s) to return a directory of players for a given award in a given season. |
Value
Returns a tibble with the following columns
col_name | types |
award_id | character |
award_name | character |
date | character |
season | character |
votes | integer |
notes | character |
player_id | integer |
player_link | character |
player_name_first_last | character |
player_primary_position_code | character |
player_primary_position_name | character |
player_primary_position_type | character |
player_primary_position_abbreviation | character |
team_id | integer |
team_link | character |
Examples
try(mlb_awards_recipient(award_id = 'MLBHOF', season = 2020))
[Package baseballr version 1.6.0 Index]