Learn R Programming

baseballr (version 1.6.0)

mlb_homerun_derby_players: Retrieve Homerun Derby Players

Description

Retrieve Homerun Derby Players

Usage

mlb_homerun_derby_players(game_pk)

Value

Returns a tibble with the following columns

col_nametypes
game_pkinteger
event_namecharacter
event_datecharacter
event_type_codecharacter
event_type_namecharacter
venue_idinteger
venue_namecharacter
player_idinteger
player_full_namecharacter
player_linkcharacter
player_first_namecharacter
player_last_namecharacter
player_primary_numbercharacter
player_birth_datecharacter
player_current_ageinteger
player_birth_citycharacter
player_birth_state_provincecharacter
player_birth_countrycharacter
player_heightcharacter
player_weightinteger
player_activelogical
player_use_namecharacter
player_middle_namecharacter
player_boxscore_namecharacter
player_nick_namecharacter
player_gendercharacter
player_is_playerlogical
player_is_verifiedlogical
player_draft_yearinteger
player_pronunciationcharacter
player_mlb_debut_datecharacter
player_name_first_lastcharacter
player_name_slugcharacter
player_first_last_namecharacter
player_last_first_namecharacter
player_last_init_namecharacter
player_init_last_namecharacter
player_full_fml_namecharacter
player_full_lfm_namecharacter
player_strike_zone_topnumeric
player_strike_zone_bottomnumeric
player_name_matrilinealcharacter
player_current_team_idinteger
player_current_team_namecharacter
player_current_team_linkcharacter
player_current_team_seasoninteger
player_current_team_team_codecharacter
player_current_team_file_codecharacter
player_current_team_abbreviationcharacter
player_current_team_team_namecharacter
player_current_team_location_namecharacter
player_current_team_first_year_of_playcharacter
player_current_team_short_namecharacter
player_current_team_franchise_namecharacter
player_current_team_club_namecharacter
player_current_team_all_star_statuscharacter
player_current_team_activelogical
player_current_team_parent_org_namecharacter
player_current_team_parent_org_idinteger
player_current_team_venue_idinteger
player_current_team_venue_namecharacter
player_current_team_venue_linkcharacter
player_current_team_spring_venue_idinteger
player_current_team_spring_venue_linkcharacter
player_current_team_league_idinteger
player_current_team_league_namecharacter
player_current_team_league_linkcharacter
player_current_team_division_idinteger
player_current_team_division_namecharacter
player_current_team_division_linkcharacter
player_current_team_sport_idinteger
player_current_team_sport_linkcharacter
player_current_team_sport_namecharacter
player_current_team_spring_league_idinteger
player_current_team_spring_league_namecharacter
player_current_team_spring_league_linkcharacter
player_current_team_spring_league_abbreviationcharacter
player_primary_position_codecharacter
player_primary_position_namecharacter
player_primary_position_typecharacter
player_primary_position_abbreviationcharacter
player_bat_side_codecharacter
player_bat_side_descriptioncharacter
player_pitch_hand_codecharacter
player_pitch_hand_descriptioncharacter
venue_linkcharacter
is_multi_daylogical
is_primary_calendarlogical
file_codecharacter
event_numberinteger
public_facinglogical

Arguments

game_pk

The game_pk for which you want to return data

Examples

Run this code
# \donttest{
  try(mlb_homerun_derby_players(game_pk = 511101))
# }

Run the code above in your browser using DataLab