Retrieve Homerun Derby Bracket
Value
Returns a tibble with the following columns
col_name | types |
game_pk | integer |
event_name | character |
event_type_code | character |
event_type_name | character |
event_date | character |
venue_id | integer |
venue_name | character |
venue_link | character |
is_multi_day | logical |
is_primary_calendar | logical |
file_code | character |
event_number | integer |
public_facing | logical |
round | integer |
num_batters | integer |
top_seed_complete | logical |
top_seed_started | logical |
top_seed_winner | logical |
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_complete | logical |
bottom_seed_started | 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 |
Examples
# \donttest{
try(mlb_homerun_derby_bracket(game_pk = 511101))
#> ── MLB Homerun Derby Bracket data from MLB.com ────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:16:11 UTC
#> # A tibble: 7 × 41
#> game_pk event_name event_type_code event_type_name event_date venue_id
#> <int> <chr> <chr> <chr> <chr> <int>
#> 1 511101 All-Star … O Other 2017-07-1… 4169
#> 2 511101 All-Star … O Other 2017-07-1… 4169
#> 3 511101 All-Star … O Other 2017-07-1… 4169
#> 4 511101 All-Star … O Other 2017-07-1… 4169
#> 5 511101 All-Star … O Other 2017-07-1… 4169
#> 6 511101 All-Star … O Other 2017-07-1… 4169
#> 7 511101 All-Star … O Other 2017-07-1… 4169
#> # … with 35 more variables: venue_name <chr>, venue_link <chr>,
#> # is_multi_day <lgl>, is_primary_calendar <lgl>, file_code <chr>,
#> # event_number <int>, public_facing <lgl>, round <int>,
#> # num_batters <int>, top_seed_complete <lgl>, top_seed_started <lgl>,
#> # top_seed_winner <lgl>, top_seed_seed <int>,
#> # top_seed_is_winner <lgl>, top_seed_is_complete <lgl>,
#> # top_seed_is_started <lgl>, top_seed_num_home_runs <int>, …
# }