Skip to contents

Load a dataframe of player-level information, including IDs and other mostly-immutable data (birthdates, college, draft position etc.)

Usage

load_players(file_type = getOption("nflreadr.prefer", default = "rds"))

Arguments

file_type

One of c("rds", "qs", "csv", "parquet"). Can also be set globally with options(nflreadr.prefer)

Value

A tibble with one row per player.

See also

Issues with this data should be filed here: https://github.com/nflverse/nflreadr and it will be triaged appropriately.

Examples

.for_cran()
# \donttest{
try({ # prevents cran errors
  load_players()
})
#> ── nflverse players ────────────────────────────────────────────────────────────
#>  Data updated: 2024-03-01 01:18:40 UTC
#> # A tibble: 20,039 × 33
#>    status display_name     first_name last_name esb_id gsis_id suffix birth_date
#>    <chr>  <chr>            <chr>      <chr>     <chr>  <chr>   <chr>  <chr>     
#>  1 RET    'Omar Ellison    'Omar      Ellison   ELL71… 00-000… NA     NA        
#>  2 ACT    A'Shawn Robinson A'Shawn    Robinson  ROB36… 00-003… NA     1995-03-21
#>  3 ACT    A.J. Arcuri      A.J.       Arcuri    ARC71… 00-003… NA     NA        
#>  4 RES    A.J. Bouye       Arlandus   Bouye     BOU65… 00-003… NA     1991-08-16
#>  5 ACT    A.J. Brown       Arthur     Brown     BRO41… 00-003… NA     1997-06-30
#>  6 ACT    A.J. Cann        Aaron      Cann      CAN36… 00-003… NA     1991-10-03
#>  7 ACT    A.J. Cole        A.J.       Cole      COL21… 00-003… III    1995-11-27
#>  8 RET    A.J. Cruz        A.J.       Cruz      CRU77… 00-003… NA     NA        
#>  9 RET    A.J. Dalton      A.J.       Dalton    DAL64… 00-003… NA     NA        
#> 10 RET    A.J. Davis       A.J.       Davis     DAV11… 00-002… NA     NA        
#> # ℹ 20,029 more rows
#> # ℹ 25 more variables: college_name <chr>, position_group <chr>,
#> #   position <chr>, jersey_number <int>, height <dbl>, weight <int>,
#> #   years_of_experience <chr>, team_abbr <chr>, team_seq <int>,
#> #   current_team_id <chr>, football_name <chr>, entry_year <int>,
#> #   rookie_year <int>, draft_club <chr>, college_conference <chr>,
#> #   status_description_abbr <chr>, status_short_description <chr>, …
# }