View source: R/load_injuries.R
load_injuries | R Documentation |
Data collected from an API for weekly injury report data.
load_injuries(
seasons = most_recent_season(),
file_type = getOption("nflreadr.prefer", default = "rds")
)
seasons |
a numeric vector of seasons to return, data available since 2009. Defaults to latest season available. |
file_type |
One of |
a tibble of season-level injury report data.
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
try({# prevents cran errors
load_injuries(2020)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.