Retrieve gameweek-level data for a player in the current FPL season, obtained via the element summary endpoint.

fpl_get_player_current(player_id, convert_prices = TRUE)

Arguments

player_id

player's ID (id field from fpl_get_player_all output).

convert_prices

Convert player price-related metrics to familiar denominations (TRUE by default)

Value

a tibble

Examples

fpl_get_player_current(player_id = 3)
#> # A tibble: 2 x 31 #> element fixture opponent_team total_points was_home kickoff_time team_h_score #> <int> <int> <int> <int> <lgl> <chr> <int> #> 1 3 10 13 0 FALSE 2019-08-11T… 0 #> 2 3 11 5 1 TRUE 2019-08-17T… 2 #> # … with 24 more variables: team_a_score <int>, round <int>, minutes <int>, #> # goals_scored <int>, assists <int>, clean_sheets <int>, #> # goals_conceded <int>, own_goals <int>, penalties_saved <int>, #> # penalties_missed <int>, yellow_cards <int>, red_cards <int>, saves <int>, #> # bonus <int>, bps <int>, influence <dbl>, creativity <dbl>, threat <dbl>, #> # ict_index <dbl>, value <dbl>, transfers_balance <int>, selected <int>, #> # transfers_in <int>, transfers_out <int>