tidy_scores | R Documentation |
The score of each team in a matchup or scoring period and the match outcome.
tidy_scores(leagueId = ffl_id(), leagueHistory = FALSE, useMatchup = TRUE, ...)
leagueId |
Numeric league ID or ESPN fantasy page URL. Defaults to
|
leagueHistory |
logical; Should the |
useMatchup |
logical; Whether scoring should be summarized by
|
... |
Additional queries passed to |
expectedWins
are calculated by comparing a team score against all other
scores for a given matchup period. This statistic expresses how a team would
fair if the schedule was random The highest scoring team is thus expected to
earn 1 win and the lowest scoring team would expect to win 0 matchups.
A tidy data frame of scores by team and matchup/scoring period.
Other scoring functions:
live_scoring()
tidy_scores(leagueId = "42654852", useMatchup = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.