This function fetches a player's full name given FPL ID. If blank, the function fetches all current players.
get_player_name(playerid = NULL)
playerid | The player's FPL ID. You can list multiple, e.g. with c(). |
---|
get_player_name(playerid=300)#> playername id #> 1 Dwight Gayle 300get_player_name(playerid=150:160)#> playername id #> 1 Cheikhou Kouyaté 150 #> 2 Martin Kelly 151 #> 3 Luka Milivojevic 152 #> 4 Jordan Ayew 153 #> 5 Wilfried Zaha 154 #> 6 Jeffrey Schlupp 155 #> 7 Jack Butland 156 #> 8 Jairo Riedewald 157 #> 9 Jaroslaw Jach 158 #> 10 Jean-Philippe Mateta 159 #> 11 Eberechi Eze 160