This function retrieves information about all FPL players, such as player IDs, names, positions, and team details, using the Fantasy Premier League API.
Value
A tibble (data.frame
) with the following columns:
player_season_id
The ID of the player for the current season.
player_name
The web name of the player.
first_name
The first name of the player.
second_name
The last name of the player.
team
The abbreviation of the team the player belongs to.
squad_number
The squad number of the player.
player_position
The player's position in the FPL game.
player_fpl_code
The FPL code of the player.
special
Examples
fpl_player_info()
#> # A tibble: 714 × 9
#> player_season_id player_name first_name second_name team squad_number
#> <int> <chr> <chr> <chr> <chr> <lgl>
#> 1 1 Balogun Folarin Balogun ARS NA
#> 2 2 Cédric Cédric Alves Soares ARS NA
#> 3 3 M.Elneny Mohamed Elneny ARS NA
#> 4 4 Fábio Vieira Fábio Ferreira Vieira ARS NA
#> 5 5 Gabriel Gabriel dos Santos Magal… ARS NA
#> 6 6 Havertz Kai Havertz ARS NA
#> 7 8 G.Jesus Gabriel Fernando de Jesus ARS NA
#> 8 9 Jorginho Jorge Luiz Frello Filho ARS NA
#> 9 10 Kiwior Jakub Kiwior ARS NA
#> 10 11 Marquinhos Marcus Oliveira Alencar ARS NA
#> # ℹ 704 more rows
#> # ℹ 3 more variables: player_position <chr>, player_fpl_code <int>,
#> # special <lgl>