Skip to contents

Data collected from an API for weekly injury report data.

Usage

load_injuries(seasons = most_recent_season(), file_type = NULL)

Arguments

seasons

a numeric vector of seasons to return, data available since 2009. Defaults to latest season available.

file_type

Deprecated: now uses rds by default.

Value

a tibble of season-level injury report data.

See also

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

dictionary_injuries for the data dictionary as bundled within the package

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

Examples

# \donttest{
try({# prevents cran errors
    load_injuries(2020)
})
#> ── nflverse injury and practice reports ────────────────────────────────────────
#>  Data updated: 2022-03-10 17:50:23 UTC
#> # A tibble: 5,640 × 16
#>    season season_type team  week  gsis_id    position full_name       first_name
#>    <chr>  <chr>       <chr> <chr> <chr>      <chr>    <chr>           <chr>     
#>  1 2020   REG         ARI   1     00-0035287 WR       KeeSean Johnson KeeSean   
#>  2 2020   REG         ARI   1     00-0022921 WR       Larry Fitzgera… Larry     
#>  3 2020   REG         ARI   1     00-0030564 WR       DeAndre Hopkins DeAndre   
#>  4 2020   REG         ARI   1     00-0031558 TE       Maxx Williams   Maxx      
#>  5 2020   REG         ARI   1     00-0036363 T        Josh Jones      Josh      
#>  6 2020   REG         ATL   1     00-0027963 G        James Carpenter James     
#>  7 2020   REG         ATL   1     00-0032241 RB       Todd Gurley     Todd      
#>  8 2020   REG         ATL   1     00-0026997 C        Alex Mack       Alex      
#>  9 2020   REG         ATL   1     00-0032052 DE       Dante Fowler    Dante     
#> 10 2020   REG         ATL   1     00-0034411 WR       Russell Gage    Russell   
#> # … with 5,630 more rows, and 8 more variables: last_name <chr>,
#> #   report_primary_injury <chr>, report_secondary_injury <chr>,
#> #   report_status <chr>, practice_primary_injury <chr>,
#> #   practice_secondary_injury <chr>, practice_status <chr>,
#> #   date_modified <dttm>
# }