ff_franchises | R Documentation |
Return franchise-level data (including divisions, usernames, etc) - available data may vary slightly based on platform.
ff_franchises(conn) ## S3 method for class 'espn_conn' ff_franchises(conn) ## S3 method for class 'flea_conn' ff_franchises(conn) ## S3 method for class 'mfl_conn' ff_franchises(conn) ## S3 method for class 'sleeper_conn' ff_franchises(conn)
conn |
a conn object created by |
A tidy dataframe of franchises, complete with IDs
ff_franchises(espn_conn)
: ESPN: returns franchise and division information.
ff_franchises(flea_conn)
: Fleaflicker: returns franchise and division information.
ff_franchises(mfl_conn)
: MFL: returns franchise and division information.
ff_franchises(sleeper_conn)
: Sleeper: retrieves a list of franchise information, including user IDs and co-owner IDs.
try({ # try only shown here because sometimes CRAN checks are weird conn <- espn_connect(season = 2020, league_id = 1178049) ff_franchises(conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird conn <- fleaflicker_connect(season = 2020, league_id = 206154) ff_franchises(conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird ssb_conn <- ff_connect(platform = "mfl", league_id = 54040, season = 2020) ff_franchises(ssb_conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird jml_conn <- ff_connect(platform = "sleeper", league_id = "522458773317046272", season = 2020) ff_franchises(jml_conn) }) # end try
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.