View source: R/league_leaders.R
metrics_leaders | R Documentation |
Gets league leader data by specified input for specific seasons
metrics_leaders(
seasons = 2017:2018,
metric = "pts",
season_types = "Regular Season",
modes = c("PerGame", "Totals"),
return_message = TRUE,
nest_data = FALSE
)
seasons |
vector of seasons |
metric |
name of metric to sort on
|
season_types |
type of season
|
modes |
mode of search
|
return_message |
if |
nest_data |
if |
a tibble
Other players:
players_bios()
,
teams_players_stats()
Other leaders:
franchise_leaders()
metrics_leaders(seasons = 2000:2005,
metric = "pts",
season_types = "Regular Season",
modes = "PerGame",
return_message = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.