transaction_counter: League transactions

View source: R/transactions.R

transaction_counterR Documentation

League transactions

Description

Summary of transactions and roster changes made during a season by team.

Usage

transaction_counter(leagueId = ffl_id(), leagueHistory = FALSE, ...)

budget_summary(leagueId = ffl_id(), leagueHistory = FALSE, ...)

Arguments

leagueId

Numeric league ID or ESPN fantasy page URL. Defaults to getOption("fflr.leagueId"). Function fails if no ID is found.

leagueHistory

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.

Value

A data frame of transaction counts by team.

See Also

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()

Examples

transaction_counter(leagueId = "42654852")

fflr documentation built on Sept. 14, 2023, 9:10 a.m.