Retrieve draft pick information by year
Value
Returns a tibble with information for every draft pick in every round for the year requested
| col_name | types |
| bis_player_id | integer |
| pick_round | character |
| pick_number | integer |
| round_pick_number | integer |
| rank | integer |
| pick_value | character |
| signing_bonus | character |
| scouting_report | character |
| blurb | character |
| headshot_link | character |
| is_drafted | logical |
| is_pass | logical |
| year | character |
| home_city | character |
| home_state | character |
| home_country | character |
| school_name | character |
| school_school_class | character |
| school_country | character |
| school_state | character |
| person_id | integer |
| person_full_name | character |
| person_link | character |
| person_first_name | character |
| person_last_name | character |
| person_primary_number | character |
| person_birth_date | character |
| person_current_age | integer |
| person_birth_city | character |
| person_birth_state_province | character |
| person_birth_country | character |
| person_height | character |
| person_weight | integer |
| person_active | logical |
| person_use_name | character |
| person_middle_name | character |
| person_boxscore_name | character |
| person_gender | character |
| person_is_player | logical |
| person_is_verified | logical |
| person_draft_year | integer |
| person_name_first_last | character |
| person_name_slug | character |
| person_first_last_name | character |
| person_last_first_name | character |
| person_last_init_name | character |
| person_init_last_name | character |
| person_full_fml_name | character |
| person_full_lfm_name | character |
| person_strike_zone_top | numeric |
| person_strike_zone_bottom | numeric |
| person_pronunciation | character |
| person_name_title | character |
| person_mlb_debut_date | character |
| person_name_matrilineal | character |
| person_primary_position_code | character |
| person_primary_position_name | character |
| person_primary_position_type | character |
| person_primary_position_abbreviation | character |
| person_bat_side_code | character |
| person_bat_side_description | character |
| person_pitch_hand_code | character |
| person_pitch_hand_description | character |
| team_id | integer |
| team_name | character |
| team_link | character |
| team_all_star_status | character |
| team_spring_league_id | integer |
| team_spring_league_name | character |
| team_spring_league_link | character |
| team_spring_league_abbreviation | character |
| draft_type_code | character |
| draft_type_description | character |
Examples
# \donttest{
try(mlb_draft(year = 2020))
#> ── MLB Draft data from MLB.com ────────────────────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:15:46 UTC
#> # A tibble: 160 × 73
#> bis_player_id pick_round pick_number round_pick_number rank
#> <int> <chr> <int> <int> <int>
#> 1 807255 1 1 1 1
#> 2 788201 1 2 2 10
#> 3 792606 1 3 3 9
#> 4 771881 1 4 4 3
#> 5 415542 1 5 5 2
#> 6 784616 1 6 6 4
#> 7 5009176 1 7 7 5
#> 8 807429 1 8 8 16
#> 9 5005747 1 9 9 7
#> 10 780070 1 10 10 8
#> # … with 150 more rows, and 68 more variables: pick_value <chr>,
#> # signing_bonus <chr>, scouting_report <chr>, blurb <chr>,
#> # headshot_link <chr>, is_drafted <lgl>, is_pass <lgl>, year <chr>,
#> # home_city <chr>, home_state <chr>, home_country <chr>,
#> # school_name <chr>, school_school_class <chr>, school_country <chr>,
#> # school_state <chr>, person_id <int>, person_full_name <chr>,
#> # person_link <chr>, person_first_name <chr>, …
# }
