Description Usage Arguments Value Examples
Returns league-wide season attendance totals (no game-by-game or team-by-team breakdown available)
1 | getAttendance(season = NULL)
|
season |
Optional, to filter attendance to a given season. Format: 20172018 |
season attendance records from the API
1 2 3 4 5 | #See all attendance records
attendance <- getAttendance()
#Only see attendance from a certain year
attendance <- getAttendance(20152016)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.