Skip to contents

This function retrieves information about the ICT (Influence, Creativity, Threat) index of all FPL players using the Fantasy Premier League API.

Usage

fpl_player_ict()

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.

ict_index

The player's ICT index value.

ict_index_rank

The player's ICT index rank.

ict_index_rank_type

The type of rank (e.g., "overall").

influence

The player's influence score.

influence_rank

The player's influence rank.

influence_rank_type

The type of influence rank (e.g., "overall").

creativity

The player's creativity score.

creativity_rank

The player's creativity rank.

creativity_rank_type

The type of creativity rank (e.g., "overall").

threat

The player's threat score.

threat_rank

The player's threat rank.

threat_rank_type

The type of threat rank (e.g., "overall").

Examples

fpl_player_ict()
#> # A tibble: 714 × 14
#>    player_season_id player_name  ict_index ict_index_rank ict_index_rank_type
#>               <int> <chr>            <dbl>          <int>               <int>
#>  1                1 Balogun            0              532                  52
#>  2                2 Cédric             0              384                 138
#>  3                3 M.Elneny           0              509                 183
#>  4                4 Fábio Vieira       9.7            177                  87
#>  5                5 Gabriel            3.6            286                 106
#>  6                6 Havertz           15.7             89                  52
#>  7                8 G.Jesus           10.7            158                  25
#>  8                9 Jorginho           1.5            336                 154
#>  9               10 Kiwior             3.6            285                 105
#> 10               11 Marquinhos         0              597                 226
#> # ℹ 704 more rows
#> # ℹ 9 more variables: influence <dbl>, influence_rank <int>,
#> #   influence_rank_type <int>, creativity <dbl>, creativity_rank <int>,
#> #   creativity_rank_type <int>, threat <dbl>, threat_rank <int>,
#> #   threat_rank_type <int>