ffs_rosters | R Documentation |
This function lightly wraps ffscrapr::ff_rosters()
and adds fantasypros_id, which is a required column for ffsimulator.
ffs_rosters(conn)
## S3 method for class 'mfl_conn'
ffs_rosters(conn)
## S3 method for class 'sleeper_conn'
ffs_rosters(conn)
## S3 method for class 'flea_conn'
ffs_rosters(conn)
## S3 method for class 'espn_conn'
ffs_rosters(conn)
conn |
a connection object as created by |
a dataframe of rosters that includes a fantasypros_id column
vignette("custom") for more detailed example usage
# cached examples
conn <- .ffs_cache("mfl_conn.rds")
try({ # prevents CRAN connectivity issues, not actually required in normal usage
ffs_rosters(conn)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.