For a given roster tibble, sum the starting scores.
roster_score(roster, useScore = c("actualScore", "projectedScore"))
A roster data frame from team_roster()
.
One of "projectedScore" or "actualScore" (default).
A starting score as double.
Other roster functions:
best_roster()
,
start_roster()
,
team_roster()
rost <- team_roster(leagueId = "42654852", leagueHistory = TRUE)[[1]][[1]]
roster_score(rost)
#> [1] 106.9