getStatsLeader | R Documentation |
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 |
Stats type. PTS, G, MP, FG, FT, TRB, AST, STL, BLK, TOV, PF or FG3 |
period |
Period. career, season or game |
This function returns data.frame
including columns:
"Player" - Player Name
"Season" - Season number
"stats" - Stats Type
"value" - Value of record
"period" - Period. career, season or game.
Koki Ando <koki.25.ando@gmail.com>
https://www.basketball-reference.com/leaders/
## Not run: pts_leader = getStatsLeader(stats_type = "PTS", period = "season") head(pts_leader) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.