Skip to contents

Get list of NFL draft picks

Usage

cfbd_draft_picks(
  year = NULL,
  nfl_team = NULL,
  college = NULL,
  conference = NULL,
  position = NULL
)

Arguments

year

(Integer required): NFL draft class, 4 digit format (YYYY)

nfl_team

(String): NFL drafting team, see cfbd_draft_teams() for valid selections.

college

(String): NFL draftee college team, see cfbd_team_info() for valid selections.

conference

(String): NFL draftee college team conference, see cfbd_conferences() for valid selections.

position

(String): NFL position abbreviation, see cfbd_draft_positions() for valid selections.

Value

cfbd_draft_picks() - A data frame with 23 variables:

college_athlete_id: integer.

College athlete referencing id.

nfl_athlete_id: integer

NFL athlete referencing id.

college_id: integer

College team referencing id.

college_team: character

College team name.

college_conference: character

Conference of college team.

nfl_team: character

NFL team name of drafted player.

year: integer.

NFL draft class year.

overall: integer.

Overall draft pick number.

round: integer.

Round of NFL draft the draftee was picked in.

pick: integer.

Pick number of the NFL draftee within the round they were picked in.

name: character.

NFL draftee name.

position: character.

NFL draftee position.

height: double.

NFL draftee height.

weight: integer.

NFL draftee weight.

pre_draft_ranking: integer

Pre-draft ranking (ESPN).

pre_draft_position_ranking: integer.

Pre-draft position ranking (ESPN).

pre_draft_grade: double.

Pre-draft scouts grade (ESPN).

hometown_info_city: character.

Hometown of the NFL draftee.

hometown_info_state_province: character.

Hometown state of the NFL draftee.

hometown_info_country: character.

Hometown country of the NFL draftee.

hometown_info_latitude: character.

Hometown latitude of the NFL draftee.

hometown_info_longitude: character.

Hometown longitude of the NFL draftee.

hometown_info_county_fips: character.

Hometown FIPS code of the NFL draftee.

Examples

# \donttest{
  try(cfbd_draft_picks(year = 2020))
#> ── NFL draft data from CollegeFootballData.com ─────────────── cfbfastR 1.9.3 ──
#>  Data updated: 2022-09-23 03:23:00 UTC
#> # A tibble: 255 × 23
#>    college_a…¹ nfl_a…² colle…³ colle…⁴ colle…⁵ nfl_t…⁶  year overall round  pick
#>          <int>   <int>   <int> <chr>   <chr>   <chr>   <int>   <int> <int> <int>
#>  1     3915511  104204      99 LSU     SEC     Cincin…  2020       1     1     1
#>  2     4241986  104097     194 Ohio S… Big Ten Washin…  2020       2     1     2
#>  3     4241984  104096     194 Ohio S… Big Ten Detroit  2020       3     1     3
#>  4     4259566  104112      61 Georgia SEC     New Yo…  2020       4     1     4
#>  5     4241479  104093     333 Alabama SEC     Miami    2020       5     1     5
#>  6     4038941  104099    2483 Oregon  Pac-12  Los An…  2020       6     1     6
#>  7     4035495  104098       2 Auburn  SEC     Caroli…  2020       7     1     7
#>  8     4035462  104106     228 Clemson ACC     Arizona  2020       8     1     8
#>  9     4240596  104104      57 Florida SEC     Jackso…  2020       9     1     9
#> 10     4241482  104425     333 Alabama SEC     Clevel…  2020      10     1    10
#> # … with 245 more rows, 13 more variables: name <chr>, position <chr>,
#> #   height <int>, weight <int>, pre_draft_ranking <int>,
#> #   pre_draft_position_ranking <int>, pre_draft_grade <int>,
#> #   hometown_info_city <chr>, hometown_info_state <chr>,
#> #   hometown_info_country <chr>, hometown_info_latitude <chr>,
#> #   hometown_info_longitude <chr>, hometown_info_county_fips <chr>, and
#> #   abbreviated variable names ¹​college_athlete_id, ²​nfl_athlete_id, …

  try(cfbd_draft_picks(year = 2016, position = "PK"))
#> ── NFL draft data from CollegeFootballData.com ─────────────── cfbfastR 1.9.3 ──
#>  Data updated: 2022-09-23 03:23:01 UTC
#> # A tibble: 1 × 23
#>   college_at…¹ nfl_a…² colle…³ colle…⁴ colle…⁵ nfl_t…⁶  year overall round  pick
#>          <int>   <int>   <int> <chr>   <chr>   <chr>   <int>   <int> <int> <int>
#> 1       535422   50410      52 Florid… ACC     Tampa …  2016      59     2    28
#> # … with 13 more variables: name <chr>, position <chr>, height <int>,
#> #   weight <int>, pre_draft_ranking <int>, pre_draft_position_ranking <int>,
#> #   pre_draft_grade <int>, hometown_info_city <chr>, hometown_info_state <chr>,
#> #   hometown_info_country <chr>, hometown_info_latitude <chr>,
#> #   hometown_info_longitude <chr>, hometown_info_county_fips <chr>, and
#> #   abbreviated variable names ¹​college_athlete_id, ²​nfl_athlete_id,
#> #   ³​college_id, ⁴​college_team, ⁵​college_conference, ⁶​nfl_team
# }