Get Fantasy Premier League manager's team picks for a specific gameweek.
Source:R/manager-info.R
fpl_manager_picks.Rd
This function retrieves the player picks made by an FPL manager for a specific gameweek, including the player IDs, positions, captaincy/vice-captaincy status, and multipliers.
Arguments
- manager_id
The ID of the FPL manager (numeric).
- gw_id
The ID of the gameweek (default: current gameweek).
Value
A tibble (data frame) with the following columns:
player
The player ID of the pick.
pick_number
The position of the pick in the manager's team.
is_captain
Whether the player is chosen as captain (TRUE/FALSE).
is_vice_captain
Whether the player is chosen as vice-captain (TRUE/FALSE).
multiplier
The multiplier applied to the player's points.
Examples
fpl_manager_picks(123456)
#> # A tibble: 15 × 5
#> player pick_number is_captain is_vice_captain multiplier
#> <chr> <int> <lgl> <lgl> <int>
#> 1 Pickford 1 FALSE FALSE 1
#> 2 Chilwell 2 FALSE TRUE 1
#> 3 Gusto 3 FALSE FALSE 1
#> 4 Saliba 4 FALSE FALSE 1
#> 5 Diaby 5 FALSE FALSE 1
#> 6 Maddison 6 FALSE FALSE 1
#> 7 Saka 7 FALSE FALSE 1
#> 8 Mbeumo 8 FALSE FALSE 1
#> 9 Salah 9 FALSE FALSE 1
#> 10 Wissa 10 FALSE FALSE 1
#> 11 Haaland 11 TRUE FALSE 2
#> 12 Turner 12 FALSE FALSE 0
#> 13 Estupiñan 13 FALSE FALSE 0
#> 14 Mubama 14 FALSE FALSE 0
#> 15 Beyer 15 FALSE FALSE 0