| realgm_player_stats | R Documentation |
Get season player statistics leaders from RealGM.
Returns the qualified-player leaderboard for a season, statistic family and season segment. RealGM exposes basic box-score averages as well as advanced and miscellaneous splits not all available from first-party feeds.
Requires a headless browser (see realgm_players()).
realgm_player_stats(
season = most_recent_nba_season(),
stat_type = "Averages",
season_type = "Regular_Season"
)
season |
Season (the year the season ends, e.g. |
stat_type |
Statistic family. One of |
season_type |
Season segment. One of |
A hoopR_data tibble (one row per qualified player) carrying the
requested season, stat_type and season_type as columns. Columns vary
by stat_type; for "Averages":
| col_name | types | description |
| player | character | Player name. |
| team | character | Team abbreviation. |
| gp | integer | Games played. |
| mpg | numeric | Minutes per game. |
| ppg | numeric | Points per game. |
| rpg | numeric | Rebounds per game. |
| apg | numeric | Assists per game. |
Other RealGM Functions:
realgm_coaches(),
realgm_draft(),
realgm_draft_prospects(),
realgm_early_entry(),
realgm_future_free_agents(),
realgm_gms(),
realgm_individual_games(),
realgm_individual_seasons(),
realgm_players(),
realgm_players_abroad(),
realgm_rookie_scale(),
realgm_salary_cap(),
realgm_standings(),
realgm_team_stats(),
realgm_teams(),
realgm_transactions()
## Not run:
try(realgm_player_stats(season = 2025, stat_type = "Averages"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.