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 withoptions(nflreadr.prefer)
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: 2023-10-01 01:21:27 UTC
#> # A tibble: 20,035 × 33
#> 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 NA
#> 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 NA
#> 4 RES A.J. Bouye Arlandus Bouye BOU651714 00-0030228 1991-08-16
#> 5 ACT A.J. Brown Arthur Brown BRO413223 00-0035676 1997-06-30
#> 6 ACT A.J. Cann Aaron Cann CAN364949 00-0032255 1991-10-03
#> 7 ACT A.J. Cole A.J. Cole COL214396 00-0035190 1995-11-27
#> 8 RET A.J. Cruz A.J. Cruz CRU779150 00-0032270 NA
#> 9 RET A.J. Dalton A.J. Dalton DAL649400 00-0031108 NA
#> 10 RET A.J. Davis A.J. Davis DAV115245 00-0029167 NA
#> # ℹ 20,025 more rows
#> # ℹ 26 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>, gsis_it_id <int>,
#> # smart_id <chr>, headshot <chr>, short_name <chr>, entry_year <int>,
#> # rookie_year <int>, draft_club <chr>, draft_number <int>, …
# }