get_team_statistics()
retrieves information on each team or game for a given set of season
, game_types
, and report
. dates
must be given when paired with is_game
as the default range will return incomplete data (too wide). Access get_configuration()
for what information each combination of report
, is_aggregate
and is_game
can provide. Access get_team_seasons()
for season
and dates
references. Will soon be reworked for easier access.
Usage
get_team_statistics(
season = get_season_now()$seasonId,
report = "summary",
is_aggregate = FALSE,
is_game = FALSE,
dates = c("2025-01-01"),
game_types = 1:3
)
Examples
playoff_team_stf_20242025 <- get_team_statistics(
season=20242025,
report='scoretrailfirst',
game_types=c(3)
)