NBA draft data for specified seasons

drafts(draft_years = 1947:2018, nest_data = F, return_message = T)

Arguments

draft_years

vector of draft years

nest_data

if TRUE returns nested data frame

return_message

if TRUE returns message

Value

a `tibble`

See also

Examples

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)