getAttendance: Get Attendance Records

Description Usage Arguments Value Examples

Description

Returns league-wide season attendance totals (no game-by-game or team-by-team breakdown available)

Usage

1
getAttendance(season = NULL)

Arguments

season

Optional, to filter attendance to a given season. Format: 20172018

Value

season attendance records from the API

Examples

1
2
3
4
5
#See all attendance records
attendance <- getAttendance()

#Only see attendance from a certain year
attendance <- getAttendance(20152016)

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