Skip to contents

This function retrieves information about a Fantasy Premier League manager using the provided manager ID. It displays the manager's performance details, including points, rank, transfers, and other relevant statistics.

Usage

fpl_manager_info(manager_id)

Arguments

manager_id

The ID of the FPL manager (nmeric).

Value

A tibble (data frame) with the following columns:

gameweek_id

The ID of the gameweek.

gw_points

The points scored by the manager in the gameweek.

points_on_bench

The points scored by the manager's benched players in the gameweek.

total_points

The total points scored by the manager.

gw_rank

The rank of the manager in the gameweek.

overall_rank

The overall rank of the manager.

value

The value of the manager's team.

bank

The remaining budget of the manager.

gw_transfers

The number of transfers made by the manager in the gameweek.

gw_transfers_cost

The total cost of transfers made by the manager in the gameweek.

Examples

fpl_manager_info(123456)
#> # A tibble: 4 × 10
#>   gameweek_id gw_points points_on_bench total_points gw_rank overall_rank value
#>         <int>     <int>           <int>        <int>   <int>        <int> <dbl>
#> 1           1        75              10           75 1648468      1648468  100 
#> 2           2        57               1          128 1353336      1281895  100.
#> 3           3        59               3          183  894080       694959  101.
#> 4           4        77               6          260 3310650       666287  102.
#> # ℹ 3 more variables: bank <dbl>, gw_transfers <int>, gw_transfers_cost <int>