This function fetches selected summary information on selected players given full player name(s).

get_player_info(name = NULL, season = NULL)

Arguments

name

The player's full name, as listed on the official Fantasy Premier League site (for instance: "Richarlison de Andrade", not "Richarlison"). If blank, the function fetches all players.

season

To retrieve prior season data, enter a 2-digit year corresponding to the start of the historical FPL season of interest (e.g. '17' for the 2017/2018 season).

Examples

get_player_info(name=c("Jesse Lingard","Virgil van Dijk"))
#> chance_of_playing_next_round chance_of_playing_this_round code #> 1 NA NA 97032 #> 2 25 25 109322 #> cost_change_event cost_change_event_fall cost_change_start #> 1 0 0 0 #> 2 0 0 0 #> cost_change_start_fall dreamteam_count element_type ep_next ep_this #> 1 0 0 2 4.3 4.3 #> 2 0 0 3 0.7 0.7 #> event_points first_name form id in_dreamteam news #> 1 0 Virgil 0.0 229 FALSE #> 2 0 Jesse 0.0 276 FALSE Illness - 25% chance of playing #> news_added now_cost photo points_per_game second_name #> 1 <NA> 65 97032.jpg 0.0 van Dijk #> 2 2021-08-13T16:30:12.623694Z 70 109322.jpg 0.0 Lingard #> selected_by_percent special squad_number status team team_code total_points #> 1 11.7 FALSE NA a 11 14 0 #> 2 2.2 FALSE NA d 13 1 0 #> transfers_in transfers_in_event transfers_out transfers_out_event value_form #> 1 2521 2521 1194 1194 0.0 #> 2 45 45 3035 3035 0.0 #> value_season web_name minutes goals_scored assists clean_sheets #> 1 0.0 van Dijk 0 0 0 0 #> 2 0.0 Lingard 0 0 0 0 #> goals_conceded own_goals penalties_saved penalties_missed yellow_cards #> 1 0 0 0 0 0 #> 2 0 0 0 0 0 #> red_cards saves bonus bps influence creativity threat ict_index #> 1 0 0 0 0 0.0 0.0 0.0 0.0 #> 2 0 0 0 0 0.0 0.0 0.0 0.0 #> influence_rank influence_rank_type creativity_rank creativity_rank_type #> 1 469 179 469 179 #> 2 486 201 486 201 #> threat_rank threat_rank_type ict_index_rank ict_index_rank_type #> 1 469 179 469 179 #> 2 486 201 486 201 #> corners_and_indirect_freekicks_order corners_and_indirect_freekicks_text #> 1 NA #> 2 NA #> direct_freekicks_order direct_freekicks_text penalties_order penalties_text #> 1 NA NA #> 2 NA NA #> playername #> 1 Virgil van Dijk #> 2 Jesse Lingard