Skip to contents

This function retrieves information about a classic league in Fantasy Premier League using the provided league ID. It displays the league standings, including each entry's total points, rank, and other relevant details.

Usage

fpl_league_info(league_id)

Arguments

league_id

The ID of the classic league (numeric).

Value

A tibble (data frame) with the following columns:

fpl_entry_id

The FPL entry ID of the participant.

entry_season_id

The ID of the season for the participant.

entry_name

The name of the participant.

entry_team

The team name of the participant.

gw_total

The total points scored by the participant in the current gameweek.

overall_total

The overall total points scored by the participant.

current_rank

The current rank of the participant in the league.

previous_rank

The previous rank of the participant in the league.

Examples

fpl_league_info(12345)
#> → The standings for Blackburn FF Depot league. Last updated at 18:40 on  3 September 2023.
#> 
#> # A tibble: 38 × 8
#>    fpl_entry_id entry_season_id entry_name     entry_team gw_total overall_total
#>           <int>           <int> <chr>          <chr>         <int>         <int>
#>  1       927139        47811661 paul b         here we go       75           265
#>  2       422095         2583100 Tony Roscoe    Bruno the…       77           259
#>  3       959367         6053755 Eliza Mercer   Pink Elep…       87           259
#>  4      2158884        14313725 Kate Redmond   Kate's Ko…       92           253
#>  5       697754         4391697 michael aspin… Eat my du…       70           253
#>  6       480148         2948225 Michael Shiel… Saka Pota…       73           251
#>  7      2339971        15688556 Tim Holmes     Pearlmans…       50           250
#>  8       872763         5491882 david doe      Howe Trip…       81           247
#>  9      1303082         8354874 Steven Rose    Allison W…       87           247
#> 10       141331          834083 Paul Redmond   Deadpool …       72           246
#> # ℹ 28 more rows
#> # ℹ 2 more variables: current_rank <int>, previous_rank <int>