Find MLB All-Star Final Vote
Arguments
- league_id
League ID for league all-star ballot of interest.
- season
The season of the all-star ballot.
Value
Returns a tibble with the following columns:
col_name | types |
player_id | integer |
full_name | character |
link | character |
first_name | character |
last_name | character |
primary_number | character |
birth_date | character |
current_age | integer |
birth_city | character |
birth_state_province | character |
birth_country | character |
height | character |
weight | integer |
active | logical |
use_name | character |
middle_name | character |
boxscore_name | character |
nick_name | character |
gender | character |
is_player | logical |
is_verified | logical |
draft_year | integer |
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 |
pronunciation | character |
name_matrilineal | character |
name_title | character |
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 |
league_id | numeric |
season | numeric |
Examples
# \donttest{
try(mlb_all_star_final_vote(league_id = 103, season = 2021))
#> ── MLB All-Star Final Votes data from MLB.com ─────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:15:36 UTC
#> # A tibble: 27 × 46
#> player_id full_name link first_name last_name primary_number
#> <int> <chr> <chr> <chr> <chr> <chr>
#> 1 670541 Yordan Alvarez /api/… Yordan Alvarez 44
#> 2 660162 Yoan Moncada /api/… Yoan Moncada 10
#> 3 518735 Yasmani Grandal /api/… Yasmani Grandal 24
#> 4 455117 Martin Maldonado /api/… Martin Maldonado 15
#> 5 592450 Aaron Judge /api/… Aaron Judge 99
#> 6 666182 Bo Bichette /api/… Bo Bichette 11
#> 7 608324 Alex Bregman /api/… Alexander Bregman 2
#> 8 656775 Cedric Mullins /api/… Boyce Mullins 31
#> 9 514888 Jose Altuve /api/… Jose Altuve 27
#> 10 488726 Michael Brantley /api/… Michael Brantley 23
#> # … with 17 more rows, and 40 more variables: birth_date <chr>,
#> # current_age <int>, birth_city <chr>, birth_country <chr>,
#> # height <chr>, weight <int>, active <lgl>, use_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>,
#> # name_first_last <chr>, name_slug <chr>, first_last_name <chr>, …
# }