getDraft: Get Draft

Description Usage Arguments Value Examples

Description

Get round by round data for draft year(s).

Usage

1
getDraft(year = NULL)

Arguments

year

Optional, get specific draft year information. If not set, returns current year's draft. First draft was 1963, so any year prior will result in error

Value

The API output of draft

Examples

1
2
#Get draft data for 2002 entry draft
draft <- getDraft(2002)

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