Retrieve Homerun Derby data
mlb_homerun_derby(game_pk)
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 |
round | integer |
num_batters | integer |
batter | character |
batter_id | integer |
batter_link | character |
top_seed_started | logical |
top_seed_complete | logical |
top_seed_winner | logical |
bonus_time | logical |
home_run | logical |
tie_breaker | logical |
is_home_run | logical |
time_remaining | character |
is_bonus_time | logical |
is_tie_breaker | logical |
hit_data_launch_speed | integer |
hit_data_launch_angle | integer |
hit_data_total_distance | integer |
hit_data_coordinates_coord_x | numeric |
hit_data_coordinates_coord_y | numeric |
hit_data_coordinates_landing_pos_x | numeric |
hit_data_coordinates_landing_pos_y | numeric |
hit_data_trajectory_data_trajectory_polynomial_x | list |
hit_data_trajectory_data_trajectory_polynomial_y | list |
hit_data_trajectory_data_trajectory_polynomial_z | list |
hit_data_trajectory_data_valid_time_interval | list |
top_seed_seed | integer |
top_seed_is_winner | logical |
top_seed_is_complete | logical |
top_seed_is_started | logical |
top_seed_num_home_runs | integer |
top_seed_player_id | integer |
top_seed_player_full_name | character |
top_seed_player_link | character |
top_seed_top_derby_hit_data_launch_speed | integer |
top_seed_top_derby_hit_data_total_distance | integer |
bottom_seed_started | logical |
bottom_seed_complete | logical |
bottom_seed_winner | logical |
bottom_seed_seed | integer |
bottom_seed_is_winner | logical |
bottom_seed_is_complete | logical |
bottom_seed_is_started | logical |
bottom_seed_num_home_runs | integer |
bottom_seed_player_id | integer |
bottom_seed_player_full_name | character |
bottom_seed_player_link | character |
bottom_seed_top_derby_hit_data_launch_speed | integer |
bottom_seed_top_derby_hit_data_total_distance | integer |
venue_link | character |
is_multi_day | logical |
is_primary_calendar | logical |
file_code | character |
event_number | integer |
public_facing | logical |
The game_pk for which you want to return data
# \donttest{
try(mlb_homerun_derby(game_pk = 511101))
# }
Run the code above in your browser using DataLab