best_roster | R Documentation |
Uses the roster settings for each league to find the best possible combinations of players to score the most fantasy points.
best_roster(
leagueId = ffl_id(),
useScore = c("actualScore", "projectedScore"),
scoringPeriodId = NULL,
...
)
leagueId |
Numeric league ID or ESPN fantasy page URL. Defaults to
|
useScore |
One of "projectedScore" or "actualScore" (default). |
scoringPeriodId |
Integer week of NFL season. By default, |
... |
Additional queries passed to |
If scoringPeriodId
is the current week (the default), then actual scoring
might be incomplete (see projectedScore
argument).
A dataframe (or list) with optimal rosters.
Other roster functions:
roster_score()
,
start_roster()
,
team_roster()
best_roster(leagueId = "42654852", scoringPeriodId = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.