load_ff_opportunity | R Documentation |
This function downloads precomputed expected points data from ffopportunity automated releases.
load_ff_opportunity(
seasons = most_recent_season(),
stat_type = c("weekly", "pbp_pass", "pbp_rush"),
model_version = c("latest", "v1.0.0")
)
seasons |
a numeric vector of seasons to return, defaults to most recent season. If set to |
stat_type |
one of |
model_version |
one of |
Precomputed expected fantasy points data from the ffopportunity automated releases.
https://ffopportunity.ffverse.com for more on the package, data, and modelling
https://nflreadr.nflverse.com/articles/dictionary_ff_opportunity.html for the web data dictionary
dictionary_ff_opportunity
for the data dictionary bundled as a package data frame
Issues with this data should be filed here: https://github.com/ffverse/ffopportunity
try({ # prevents cran errors
load_ff_opportunity()
load_ff_opportunity(seasons = 2021, stat_type = "pbp_pass", model_version = "v1.0.0")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.