team_stats: Team_stats

Description Usage Arguments Details Value Examples

View source: R/team_stats.R

Description

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.

Usage

1
team_stats(start_season = NULL, end_season = NULL)

Arguments

start_season

string: the start season

end_season

string: the end season

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'

Value

data.frame

Examples

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

UBC-MDS/rpuck documentation built on April 2, 2020, 3:59 a.m.