This function creates a connection to a few league templates, and can be used instead of a real conn object in the following functions: ff_scoring()
, ff_scoringhistory()
, ff_starterpositions()
.
Arguments
- scoring_type
One of c("default", "ppr", "half_ppr", "zero_ppr", "te_prem", "sfb11")
- roster_type
One of c("1qb", "superflex","sfb11", "idp")
Value
a connection object that can be used with ff_scoring()
, ff_scoringhistory()
, and ff_starterpositions()
Details
Scoring types defined here are:
ppr
: 6 pt passing/rushing/receiving touchdowns, 0.1 for rushing/receiving yards, 1 point per reception, -2 for fumbles/interceptionshalf_ppr
: same asppr
but with 0.5 points per receptionzero_ppr
: same asppr
but with 0 points per receptionte_prem
: same asppr
but TEs get 1.5 points per receptionsfb11
: scoring as defined here https://scottfishbowl.com/2021/rules.php
Roster settings defined here are:
1qb
: Starts 1 QB, 2 RB, 3 WR, 1 TE, 2 FLEXsuperflex
: Starts 1 QB, 2 RB, 3 WR, 1 TE, 2 FLEX, 1 SUPERFLEXsfb11
: Starts 1 QB, 2 RB, 3 WR, 1 TE, 3 FLEX, 1 SUPERFLEX (flex positions can also start a kicker)idp
: Starts same as 1QB but also starts 3 DL, 3 LB, 3 DB, and two IDP FLEX