Description Usage Arguments Details Value Examples
Get EPL fixtures played and/or yet to play in season, including fixture difficulty as estimated by the official FPL site.
1 |
IDs |
a numeric with one or more team IDs |
gameweeks |
range of gameweeks to retrieve picks for; if 'NULL', retrieves all gameweeks in season so far. |
Team ID can be found when examining points on the official FPL site, appearing after the '/entry/' part of the URL, e.g. '1' in 'https://fantasy.premierleague.com/entry/1/event/12'
a dataframe with two rows per fixture, one for the home team and one for the away team, including fixture difficulty ('difficulty'; scale of 1 - 5) and completed status ('finished'; TRUE or FALSE).
1 2 3 | # get completed fixtures
get_fixtures() %>%
filter(finished == TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.