ff_template {ffscrapr}R Documentation

Default conn objects

Description

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().

Usage

ff_template(
  scoring_type = c("ppr", "half_ppr", "zero_ppr", "sfb11"),
  roster_type = c("1qb", "superflex", "sfb11", "idp")
)

Arguments

scoring_type

One of c("default", "ppr", "half_ppr", "zero_ppr", "te_prem", "sfb11")

roster_type

One of c("1qb", "superflex","sfb11", "idp")

Details

Scoring types defined here are:

Roster settings defined here are:

Value

a connection object that can be used with ff_scoring(), ff_scoringhistory(), and ff_starterpositions()


[Package ffscrapr version 1.4.8 Index]