Find MLB All-Star Write-ins
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_write_ins(league_id = 103, season = 2021))
#> ── MLB All-Star Write-Ins data from MLB.com ───────── baseballr 1.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:01 UTC
#> # A tibble: 490 × 45
#> player_id full_name link first_name last_name primary_number
#> <int> <chr> <chr> <chr> <chr> <chr>
#> 1 595978 Austin Hedges /api/v1… Austin Hedges 27
#> 2 605194 Jharel Cotton /api/v1… Jharel Cotton 47
#> 3 451584 Wade Davis /api/v1… Wade Davis 40
#> 4 663554 Casey Mize /api/v1… Casey Mize 12
#> 5 609280 Miguel Andujar /api/v1… Miguel Andujar 22
#> 6 521230 Liam Hendriks /api/v1… Liam Hendriks 31
#> 7 642048 Tayler Saucedo /api/v1… Tayler Saucedo 60
#> 8 451594 Dexter Fowler /api/v1… William Fowler 25
#> 9 667674 Jack Kruger /api/v1… Timothy Kruger 36
#> 10 667670 Brent Rooker /api/v1… Terry Rooker 25
#> # ℹ 480 more rows
#> # ℹ 39 more variables: birth_date <chr>, current_age <int>,
#> # birth_city <chr>, birth_state_province <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>, is_player <lgl>, is_verified <lgl>,
#> # draft_year <int>, mlb_debut_date <chr>, name_first_last <chr>, …
# }