Retrieve Homerun Derby Players
Value
Returns a tibble with the following columns
col_name | types |
game_pk | integer |
event_name | character |
event_date | character |
event_type_code | character |
event_type_name | character |
venue_id | integer |
venue_name | character |
player_id | integer |
player_full_name | character |
player_link | character |
player_first_name | character |
player_last_name | character |
player_primary_number | character |
player_birth_date | character |
player_current_age | integer |
player_birth_city | character |
player_birth_state_province | character |
player_birth_country | character |
player_height | character |
player_weight | integer |
player_active | logical |
player_use_name | character |
player_middle_name | character |
player_boxscore_name | character |
player_nick_name | character |
player_gender | character |
player_is_player | logical |
player_is_verified | logical |
player_draft_year | integer |
player_pronunciation | character |
player_mlb_debut_date | character |
player_name_first_last | character |
player_name_slug | character |
player_first_last_name | character |
player_last_first_name | character |
player_last_init_name | character |
player_init_last_name | character |
player_full_fml_name | character |
player_full_lfm_name | character |
player_strike_zone_top | numeric |
player_strike_zone_bottom | numeric |
player_name_matrilineal | character |
player_current_team_id | integer |
player_current_team_name | character |
player_current_team_link | character |
player_current_team_season | integer |
player_current_team_team_code | character |
player_current_team_file_code | character |
player_current_team_abbreviation | character |
player_current_team_team_name | character |
player_current_team_location_name | character |
player_current_team_first_year_of_play | character |
player_current_team_short_name | character |
player_current_team_franchise_name | character |
player_current_team_club_name | character |
player_current_team_all_star_status | character |
player_current_team_active | logical |
player_current_team_parent_org_name | character |
player_current_team_parent_org_id | integer |
player_current_team_venue_id | integer |
player_current_team_venue_name | character |
player_current_team_venue_link | character |
player_current_team_spring_venue_id | integer |
player_current_team_spring_venue_link | character |
player_current_team_league_id | integer |
player_current_team_league_name | character |
player_current_team_league_link | character |
player_current_team_division_id | integer |
player_current_team_division_name | character |
player_current_team_division_link | character |
player_current_team_sport_id | integer |
player_current_team_sport_link | character |
player_current_team_sport_name | character |
player_current_team_spring_league_id | integer |
player_current_team_spring_league_name | character |
player_current_team_spring_league_link | character |
player_current_team_spring_league_abbreviation | character |
player_primary_position_code | character |
player_primary_position_name | character |
player_primary_position_type | character |
player_primary_position_abbreviation | character |
player_bat_side_code | character |
player_bat_side_description | character |
player_pitch_hand_code | character |
player_pitch_hand_description | character |
venue_link | character |
is_multi_day | logical |
is_primary_calendar | logical |
file_code | character |
event_number | integer |
public_facing | logical |
Examples
# \donttest{
try(mlb_homerun_derby_players(game_pk = 511101))
#> ── MLB Homerun Derby Players data from MLB.com ────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:16:12 UTC
#> # A tibble: 8 × 91
#> game_pk event_name event_date event_type_code event_type_name venue_id
#> <int> <chr> <chr> <chr> <chr> <int>
#> 1 511101 All-Star … 2017-07-1… O Other 4169
#> 2 511101 All-Star … 2017-07-1… O Other 4169
#> 3 511101 All-Star … 2017-07-1… O Other 4169
#> 4 511101 All-Star … 2017-07-1… O Other 4169
#> 5 511101 All-Star … 2017-07-1… O Other 4169
#> 6 511101 All-Star … 2017-07-1… O Other 4169
#> 7 511101 All-Star … 2017-07-1… O Other 4169
#> 8 511101 All-Star … 2017-07-1… O Other 4169
#> # … with 85 more variables: venue_name <chr>, player_id <int>,
#> # player_full_name <chr>, player_link <chr>, player_first_name <chr>,
#> # player_last_name <chr>, player_primary_number <chr>,
#> # player_birth_date <chr>, player_current_age <int>,
#> # player_birth_city <chr>, player_birth_state_province <chr>,
#> # player_birth_country <chr>, player_height <chr>,
#> # player_weight <int>, player_active <lgl>, player_use_name <chr>, …
# }