Summary of transactions and roster changes made during a season by team.
Numeric league ID or ESPN fantasy page URL. Defaults to
getOption("fflr.leagueId")
. Function fails if no ID is found.
logical; Should the leagueHistory
version of the API
be called? If TRUE
, a list of results is returned, with one element for
each historical year of the league.
Additional queries passed to httr::GET()
. Arguments are
converted to a named list and passed to query
alongside view
.
A data frame of transaction counts by team.
Other league functions:
draft_recap()
,
league_members()
,
league_messages()
,
league_standings()
,
league_status()
,
league_teams()
,
tidy_schedule()
Other player functions:
all_players()
,
list_players()
,
player_info()
,
player_news()
,
player_outlook()
,
recent_activity()
transaction_counter(leagueId = "42654852")
#> # A tibble: 4 × 14
#> seasonId scoringPeriodId teamId abbrev waiverRank acquisitionBudgetSpent
#> <int> <int> <int> <fct> <int> <int>
#> 1 2024 1 1 AUS 4 0
#> 2 2024 1 2 BOS 3 0
#> 3 2024 1 3 CHI 1 0
#> 4 2024 1 4 DEN 2 0
#> # ℹ 8 more variables: acquisitions <int>, drops <int>, misc <int>,
#> # moveToActive <int>, moveToIR <int>, paid <dbl>, teamCharges <dbl>,
#> # trades <int>