View source: R/get_draft_class.R
get_draft_class | R Documentation |
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 )
draft_year |
Draft year to scrape |
player_details |
If true, returns more detailed data on each prospect |
A tibble containing all selections for the supplied draft year.
Draft year
Round
Overall Pick #
Round Pick #
Drafting team
Player ID
Player name
Player link
Player birthdate
Player birthplace & nationality
Player height & weight
Player shoots/catches
Player position
Player amateur team & league
## Not run: draft_2022 <- get_draft_class(draft_year = 2022, player_details = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.