The current and projected score for each ongoing match.
live_scoring(leagueId = ffl_id(), yetToPlay = FALSE, bonusWin = FALSE, ...)
Numeric league ID or ESPN fantasy page URL. Defaults to
getOption("fflr.leagueId")
. Function fails if no ID is found.
If TRUE
, pro_schedule()
and the "mRoster" view are
called to determine how many starting players have yet to start playing.
If TRUE
, a logical column bonusWin
will be added
containing TRUE
values for teams who are projected to score in the top
half of points this week. This is a way to project the "bonus win" optional
setting added in 2022.
Additional queries passed to httr::GET()
. Arguments are
converted to a named list and passed to query
alongside view
.
A data frame of scores by period.
Other scoring functions:
tidy_scores()
live_scoring(leagueId = "42654852", yetToPlay = FALSE)
#> League has not yet drafted this season
#> data frame with 0 columns and 0 rows