Retrieve historic seasons data for a player in the current FPL season, obtained via the element summary endpoint.

fpl_get_player_historic(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_historic(player_id = 3)
#> # A tibble: 2 x 22 #> season_name element_code start_cost end_cost total_points minutes goals_scored #> <chr> <int> <dbl> <dbl> <int> <int> <int> #> 1 2017/18 111457 6 5.8 108 2146 2 #> 2 2018/19 111457 5 4.9 81 1886 0 #> # … with 15 more variables: 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 <chr>, creativity <chr>, threat <chr>, #> # ict_index <chr>