drafts | R Documentation |
NBA draft data for specified seasons
drafts(draft_years = 1947:2018, nest_data = F, return_message = T)
draft_years |
|
nest_data |
if |
return_message |
if |
a 'tibble'
Other draft:
draft_combines()
,
nbadraftnet_mock_drafts()
Other teams:
franchise_leaders()
,
seasons_rosters()
,
teams_players_stats()
,
teams_rankings()
library(dplyr)
df_drafts <-
drafts(draft_years = 1983:2018, nest_data = FALSE, return_message = TRUE)
## Where do top 5 picks since 1983 come from?
df_drafts %>%
filter(numberPickOverall <= 5) %>%
count(nameOrganizationFrom, sort = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.