powered by
Stats Leader data
getStatsLeader(stats_type = c("PTS", "G", "MP", "FG", "FT", "TRB", "AST", "STL", "BLK", "TOV", "PF", "FG3"), period = c("career", "season", "game"))
Stats type. PTS, G, MP, FG, FT, TRB, AST, STL, BLK, TOV, PF or FG3
Period. career, season or game
This function returns data.frame including columns:
data.frame
Player
Season
stats
value
period
https://www.basketball-reference.com/leaders/
# NOT RUN { pts_leader = getStatsLeader(stats_type = "PTS", period = "season") head(pts_leader) # } # NOT RUN { # }
Run the code above in your browser using DataLab