Description Usage Arguments Value
Return a table of substitutions by manager by week
1 | substitutions(f, weeks = c(), managers = c())
|
f |
an fpl object |
weeks |
Vector of weeks. If empty then include all weeks. If a vector of length one then determine substitutes up to this week. If a vector of length two then determine substitutes between these weeks. |
managers |
Vector of teams. Vector of manager names, manager IDs or team names. If empty then include all teams |
list of three dataframes. The first contains all data and the second contains a summary table #'
substitute data - team, week, position, player out (and team id), player in (and team id)
summary of subs by weekly count
summary of subs by player names (out -> in)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.