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
)

Arguments

seasons

vector of seasons

metric

name of metric to sort on

  • pts

  • min

  • ast

  • treb

  • oreb

  • dreb

  • stl

  • tov

  • fg3

  • fga

  • fgm

  • fta

  • ftm

  • pf

  • eff

season_types

type of season

  • Regular Season

  • Playoffs

  • Pre Season

modes

mode of search

  • Totals

  • Per Game

  • Per48

return_message

if TRUE returns a message

nest_data

if TRUE returns a nested data frame

Value

a tibble

See also

Other players: players_bios(), teams_players_stats()

Other leaders: franchise_leaders()

Examples

metrics_leaders(seasons = 2000:2005,
metric = "pts",
season_types = "Regular Season",
 modes = "PerGame",
 return_message = T)