powered by
This function lightly wraps ffscrapr::ff_franchises() and adds league_id, which is a required column for ffsimulator.
ffscrapr::ff_franchises()
ffs_franchises(conn)
a dataframe of franchises that includes the league_id column
a connection object as created by ffscrapr::ff_connect() and friends.
ffscrapr::ff_connect()
vignette("Custom Simulations") for more detailed example usage
# \donttest{ # cached examples conn <- .ffs_cache("mfl_conn.rds") try({ # prevents CRAN connectivity issues, not actually required in normal usage ffs_franchises(conn) }) # }
Run the code above in your browser using DataLab