nhl_venues: Retrieve metadata on NHL venues from the API

Description Usage Arguments Value Examples

View source: R/nhl_venues.R

Description

Retrieve metadata on NHL venues from the API

Usage

1
nhl_venues(venueIds = NULL)

Arguments

venueIds

integer(), vector of one or more venue ids or NULL (default) for all currently exposed venues. The exported values seem incomplete, so it may be worth it to investigate other ids.

Value

data.frame, with information on venues, one row per venue.

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # Get information on currently exposed venues
  nhl_venues()

  # Get information on 3 historical venues
  nhl_venues(5000:5006)

## End(Not run)

nhlapi documentation built on Feb. 20, 2021, 9:06 a.m.