Learn R Programming

baseballr (version 1.6.0)

mlb_homerun_derby_bracket: Retrieve Homerun Derby Bracket

Description

Retrieve Homerun Derby Bracket

Usage

mlb_homerun_derby_bracket(game_pk)

Value

Returns a tibble with the following columns

col_nametypes
game_pkinteger
event_namecharacter
event_type_codecharacter
event_type_namecharacter
event_datecharacter
venue_idinteger
venue_namecharacter
venue_linkcharacter
is_multi_daylogical
is_primary_calendarlogical
file_codecharacter
event_numberinteger
public_facinglogical
roundinteger
num_battersinteger
top_seed_completelogical
top_seed_startedlogical
top_seed_winnerlogical
top_seed_seedinteger
top_seed_is_winnerlogical
top_seed_is_completelogical
top_seed_is_startedlogical
top_seed_num_home_runsinteger
top_seed_player_idinteger
top_seed_player_full_namecharacter
top_seed_player_linkcharacter
top_seed_top_derby_hit_data_launch_speedinteger
top_seed_top_derby_hit_data_total_distanceinteger
bottom_seed_completelogical
bottom_seed_startedlogical
bottom_seed_winnerlogical
bottom_seed_seedinteger
bottom_seed_is_winnerlogical
bottom_seed_is_completelogical
bottom_seed_is_startedlogical
bottom_seed_num_home_runsinteger
bottom_seed_player_idinteger
bottom_seed_player_full_namecharacter
bottom_seed_player_linkcharacter
bottom_seed_top_derby_hit_data_launch_speedinteger
bottom_seed_top_derby_hit_data_total_distanceinteger

Arguments

game_pk

The game_pk for which you want to return data

Examples

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

Run the code above in your browser using DataLab