conn
objectsThis 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()
.
ff_template(
scoring_type = c("ppr", "half_ppr", "zero_ppr", "sfb11"),
roster_type = c("1qb", "superflex", "sfb11", "idp")
)
a connection object that can be used with ff_scoring()
, ff_scoringhistory()
, and ff_starterpositions()
One of c("default", "ppr", "half_ppr", "zero_ppr", "te_prem", "sfb11")
One of c("1qb", "superflex","sfb11", "idp")
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/interceptions
half_ppr
: same as ppr
but with 0.5 points per reception
zero_ppr
: same as ppr
but with 0 points per reception
te_prem
: same as ppr
but TEs get 1.5 points per reception
sfb11
: SFB11 scoring as defined by https://scottfishbowl.com
Roster settings defined here are:
1qb
: Starts 1 QB, 2 RB, 3 WR, 1 TE, 2 FLEX
superflex
: Starts 1 QB, 2 RB, 3 WR, 1 TE, 2 FLEX, 1 SUPERFLEX
sfb11
: 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