Skip to contents

Loads player contracts from OverTheCap.com

Usage

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

Arguments

file_type

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

Value

A tibble of active and non-active NFL player contracts.

See also

https://overthecap.com/contract-history/ for a web version of the data

https://nflreadr.nflverse.com/articles/dictionary_contracts.html for a web version of the dictionary

dictionary_contracts for the data dictionary as bundled within the package

Issues with this data should be filed here: https://github.com/nflverse/rotc

Examples

# \donttest{
try({ # prevents cran errors
  load_contracts()
})
#> ── nflverse Historical Contract Data from OverTheCap.com ───────────────────────
#>  Data updated: 2022-05-21 07:11:23 UTC
#> # A tibble: 31,934 × 24
#>    player    position team  is_active year_signed years  value    apy guaranteed
#>    <chr>     <chr>    <chr> <lgl>           <int> <int>  <dbl>  <dbl>      <dbl>
#>  1 Aaron Ro… QB       Pack… TRUE             2022     5 1.51e8 5.03e7  150665000
#>  2 Josh All… QB       Bills TRUE             2021     6 2.58e8 4.3 e7  150000000
#>  3 Patrick … QB       Chie… TRUE             2020    10 4.5 e8 4.5 e7  141000000
#>  4 Deshaun … QB       Brow… TRUE             2022     5 2.3 e8 4.6 e7  230000000
#>  5 Dak Pres… QB       Cowb… TRUE             2021     4 1.6 e8 4   e7  126000000
#>  6 Deshaun … QB       Texa… FALSE            2020     4 1.56e8 3.9 e7  111894247
#>  7 Derek Ca… QB       Raid… TRUE             2022     3 1.21e8 4.05e7   65300000
#>  8 Matt Sta… QB       Rams  TRUE             2022     4 1.6 e8 4   e7  120000000
#>  9 Brett Fa… QB       Pack… FALSE            1997     5 3.94e7 7.87e6   12000000
#> 10 Carson P… QB       Beng… FALSE            2005     6 9.7 e7 1.62e7   24000000
#> # … with 31,924 more rows, and 15 more variables: apy_cap_pct <dbl>,
#> #   inflated_value <dbl>, inflated_apy <dbl>, inflated_guaranteed <dbl>,
#> #   player_page <chr>, otc_id <int>, date_of_birth <chr>, height <chr>,
#> #   weight <chr>, college <chr>, draft_year <int>, draft_round <int>,
#> #   draft_overall <int>, draft_team <chr>, season_history <list>
# }