View source: R/espn_potentialpoints.R
espn_potentialpoints | R Documentation |
This function calculates the optimal starters for a given week, using some lineup heuristics.
espn_potentialpoints(conn, weeks = 1:17)
conn |
the list object created by |
weeks |
a numeric vector for determining which weeks to calculate |
a tibble with the best lineup for each team and whether they were started or not
try({ # try only shown here because sometimes CRAN checks are weird conn <- espn_connect(season = 2021, league_id = 950665) espn_potentialpoints(conn, weeks = 1) }) # end try
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.