manager_picks: Get players picked each gameweek by each FPL manager

Description Usage Arguments Details Value Examples

View source: R/manager_picks.R

Description

Get total points scored across the season so far by one or more FPL managers

Usage

1
manager_picks(IDs, gameweeks = NULL)

Arguments

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.

Details

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'

Value

a dataframe with each manager's team's information and total points

Examples

1
2
# first two gameweeks for two manager IDs
manager_picks(c(1, 2), 1:2)

JoGall/FantasyPL documentation built on Nov. 14, 2019, 3:38 p.m.