This function downloads precomputed expected points data from the ffopportunity automated releases.
Usage
ep_load(
season = nflreadr::most_recent_season(),
type = c("weekly", "pbp_pass", "pbp_rush"),
version = c("latest", "v1.0.0")
)Value
a dataframe identical to what would be returned by ffopportunity::ep_build() for a given season.
See also
Other main:
ep_build()
Examples
# \donttest{
try({
ep_load() %>% head(10)
ep_load(2020:2021) %>% head(10)
ep_load(2021, type = "pbp_pass") %>% head(10)
ep_load(2006, type = "pbp_rush", version = "v1.0.0") %>% head(10)
})
#> Warning: cannot open URL 'https://github.com/ffverse/ffopportunity/releases/download/latest-data/ep_weekly_2020.rds': HTTP status was '503 Service Unavailable'
#> Warning: Failed to readRDS from <https://github.com/ffverse/ffopportunity/releases/download/latest-data/ep_weekly_2020.rds>
#> Warning: cannot open URL 'https://github.com/ffverse/ffopportunity/releases/download/v1.0.0-data/ep_pbp_rush_2006.rds': HTTP status was '503 Service Unavailable'
#> Warning: Failed to readRDS from <https://github.com/ffverse/ffopportunity/releases/download/v1.0.0-data/ep_pbp_rush_2006.rds>
#> → <ffopportunity predictions>
#> → Generated 2025-12-11 15:19:23.292259 with ep model version "v1.0.0"
#> # A tibble: 0 × 0
# }