| realgm_team_stats | R Documentation |
Get season team statistics from RealGM.
Requires a headless browser (see realgm_players()).
realgm_team_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 team) carrying the requested
season, stat_type and season_type as columns. Columns vary by
stat_type; for "Averages": team, gp, mpg, ppg, rpg, apg, etc.
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_player_stats(),
realgm_players(),
realgm_players_abroad(),
realgm_rookie_scale(),
realgm_salary_cap(),
realgm_standings(),
realgm_teams(),
realgm_transactions()
## Not run:
try(realgm_team_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.