ffs_schedule | R Documentation |
This function lightly wraps ffscrapr::ff_schedule()
and adds league_id, which is a required column for ffsimulator, casts IDs to character, and drops actual games played so as to only simulate unplayed games.
ffs_schedule(conn)
conn |
a connection object as created by |
a dataframe of schedule that includes the league_id column
vignette("Custom Simulations") for more detailed example usage
# cached examples try({ # try block to prevent CRAN-related issues conn <- .ffs_cache("mfl_conn.rds") ffs_schedule(conn) })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.