nhl_draft_prospects: Retrieve metadata on NHL draft prospects from the API

Description Usage Arguments Value Examples

View source: R/nhl_draft_prospects.R

Description

Retrieve metadata on NHL draft prospects from the API

Usage

1
nhl_draft_prospects(prospectIds = NULL)

Arguments

prospectIds

integer(), vector of one or more ids of draft prospects or NULL (default) for all exposed prospects.

Value

data.frame, with information on draft prospects, one row per draft prospect.

Examples

1
2
3
4
5
## Not run: 
  # Get information on current draft prospects
  nhl_draft_prospects()

## End(Not run)

jozefhajnala/nhlapi documentation built on March 11, 2021, 3:57 p.m.