Get all selections for any single NHL draft class back to 1963

get_draft_class(
  draft_year = as.numeric(format(Sys.Date() - 181, "%Y")),
  player_details = FALSE
)

Arguments

draft_year

Draft year to scrape

player_details

If true, returns more detailed data on each prospect

Value

A tibble containing all selections for the supplied draft year.

Basic draft class variables

  • Draft year

  • Round

  • Overall Pick #

  • Round Pick #

  • Drafting team

  • Player ID

  • Player name

  • Player link

Detailed draft class variables

  • Player birthdate

  • Player birthplace & nationality

  • Player height & weight

  • Player shoots/catches

  • Player position

  • Player amateur team & league

Examples

if (FALSE) {
draft_2022 <- get_draft_class(draft_year = 2022, player_details = TRUE)
}