load_rosters | R Documentation |
Load Rosters
load_rosters(
seasons = most_recent_season(roster = TRUE),
file_type = getOption("nflreadr.prefer", default = "rds")
)
seasons |
a numeric vector of seasons to return, defaults to returning
this year's data if it is March or later. If set to |
file_type |
One of |
A tibble of season-level roster data.
https://nflreadr.nflverse.com/articles/dictionary_rosters.html for a web version of the data dictionary
dictionary_rosters
for the data dictionary as a dataframe
Issues with this data should be filed here: https://github.com/nflverse/nflverse-data
try({ # prevents cran errors
load_rosters(2020)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.