This function repeats an actual ffs_schedule()
by the appropriate number of seasons.
Arguments
- actual_schedule
a schedule retrieved by
ffs_schedule()
- n_seasons
number of seasons to simulate, default = 100
Examples
# \donttest{
try({ # try block to prevent CRAN-related issues
conn <- .ffs_cache("mfl_conn.rds") # cached connection
actual_schedule <- ffs_schedule(conn)
ffs_repeat_schedules(actual_schedule = actual_schedule, n_seasons = 10)
})
#> Empty data.table (0 rows and 5 cols): season,week,franchise_id,opponent_id,league_id
# }