getTeamStats: Get Team Stats

Description Usage Arguments Value Examples

Description

Returns the team stats, both single season numbers and league ranking. Convenience wrapper around getTeam(team = team, modifier = team.stats, season = season).

Usage

1
getTeamStats(team, season = NULL)

Arguments

team

The team stats to get. Required.

season

Which season's stats to get. Optional, will get the current years' stats if not supplied

Value

Team stats from the API

Examples

1
2
3
4
5
#See stats from the Philadelphia Flyers (ID = 4)
flyers <- getTeamStats(4)

#See their stats from 20112012
flyers_past <- getTeamStats(4, season = 20112012)

pbulsink/nhlRapi documentation built on June 27, 2019, 6:35 p.m.