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

# \donttest{
try({ # prevents cran errors
  load_players()
})
#> ── nflverse players ────────────────────────────────────────────────────────────
#>  Data updated: 2024-09-04 02:56:52 UTC
#> # A tibble: 20,753 × 32
#>    status display_name     first_name last_name esb_id    gsis_id    birth_date
#>    <chr>  <chr>            <chr>      <chr>     <chr>     <chr>      <chr>     
#>  1 RET    'Omar Ellison    'Omar      Ellison   ELL711319 00-0004866 1971-10-08
#>  2 ACT    A'Shawn Robinson A'Shawn    Robinson  ROB367960 00-0032889 1995-03-21
#>  3 DEV    A.J. Arcuri      A.J.       Arcuri    ARC716900 00-0037845 1997-08-13
#>  4 ACT    A.J. Barner      A.J.       Barner    BAR235889 00-0039793 2002-05-03
#>  5 RES    A.J. Bouye       Arlandus   Bouye     BOU651714 00-0030228 1991-08-16
#>  6 ACT    A.J. Brown       Arthur     Brown     BRO413223 00-0035676 1997-06-30
#>  7 ACT    A.J. Cann        Aaron      Cann      CAN364949 00-0032255 1991-10-03
#>  8 ACT    A.J. Cole        A.J.       Cole      COL214396 00-0035190 1995-11-27
#>  9 RET    A.J. Cruz        A.J.       Cruz      CRU779150 00-0032270 NA        
#> 10 RET    A.J. Dalton      A.J.       Dalton    DAL649400 00-0031108 NA        
#> # ℹ 20,743 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>, draft_number <int>,
#> #   college_conference <chr>, status_description_abbr <chr>, …
# }