Query the seasons stats for teams specified by start year or start year and end year from the Team Summary Stats API to the the Team's Summary season stats.

team_stats(start_season = NULL, end_season = NULL)

Arguments

start_season

string: the start season

end_season

string: the end season

Value

data.frame

Details

The stats are queried on an aggregated team by team basis for a range of dates. If no date is specified the function will return the team stats for the current season. The available seasons range from 1975-1976 to 2018-2019 If no year is specified then the year 2019-2020 is default. If an end year is specified then the start year is also to be provided. Year input is to be provided in a 2 year format of 'YYYYYYYY'

Examples

team_stats(start_season = "19801981", end_season = "19891990")