ff_starter_positions | R Documentation |
This function returns a tidy dataframe with positional lineup rules.
ff_starter_positions(conn, ...) ## S3 method for class 'espn_conn' ff_starter_positions(conn, ...) ## S3 method for class 'flea_conn' ff_starter_positions(conn, ...) ## S3 method for class 'mfl_conn' ff_starter_positions(conn, ...) ## S3 method for class 'sleeper_conn' ff_starter_positions(conn, ...) ## S3 method for class 'template_conn' ff_starter_positions(conn, ...)
conn |
the list object created by |
... |
other arguments (currently unused) |
A tidy dataframe of positional lineup rules, one row per position with minimum and maximum starters as well as total starter calculations.
ff_starter_positions(espn_conn)
: ESPN: returns min/max starters for each main player position
ff_starter_positions(flea_conn)
: Fleaflicker: returns minimum and maximum starters for each player position.
ff_starter_positions(mfl_conn)
: MFL: returns minimum and maximum starters for each player position.
ff_starter_positions(sleeper_conn)
: Sleeper: returns minimum and maximum starters for each player position.
ff_starter_positions(template_conn)
: Template: returns minimum and maximum starters for each player position.
try({ # try only shown here because sometimes CRAN checks are weird conn <- espn_connect(season = 2020, league_id = 1178049) ff_starter_positions(conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird conn <- fleaflicker_connect(season = 2020, league_id = 206154) ff_starter_positions(conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird dlfidp_conn <- mfl_connect(2020, league_id = 33158) ff_starter_positions(conn = dlfidp_conn) }) # end try try({ # try only shown here because sometimes CRAN checks are weird jml_conn <- sleeper_connect(league_id = "652718526494253056", season = 2021) ff_starter_positions(jml_conn) }) # end try template_conn <- ff_template(roster_type = "idp") ff_starter_positions(template_conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.