View source: R/espn_wbb_athlete_career.R
| espn_wbb_player_career_stats | R Documentation |
Returns career stats for a WBB athlete in long format. Default
stat_type = 0L fetches the standard "All Splits" / regular-season
view. Pass a vector like c(0L, 1L, 2L) to attempt multiple types
and bind them via a stat_type_id column; variants that 404 for that
athlete are silently skipped. Stat types: 0 = regular season (default
endpoint), 1 = postseason, 2 = career aggregate. Coverage of types 1
and 2 is sparse — many athletes only have type 0 populated.
espn_wbb_player_career_stats(athlete_id, stat_type = 0L, ...)
athlete_id |
ESPN athlete identifier. |
stat_type |
Integer or integer vector of stat-type codes.
Default |
... |
Additional arguments; currently unused. |
Get ESPN WBB Athlete Career Stats (Long Format)
A long tibble (one row per stat_type × split × category × stat).
Columns as documented in the shared espn_basketball_player_career_stats_schema table.
Saiem Gilani
Other ESPN WBB Functions:
espn_wbb_athletes_index(),
espn_wbb_award(),
espn_wbb_calendar(),
espn_wbb_coach(),
espn_wbb_coach_record(),
espn_wbb_coach_season(),
espn_wbb_coaches(),
espn_wbb_conferences(),
espn_wbb_franchise(),
espn_wbb_franchises(),
espn_wbb_game_all(),
espn_wbb_game_odds(),
espn_wbb_game_official_detail(),
espn_wbb_game_play(),
espn_wbb_game_play_personnel(),
espn_wbb_game_player_box(),
espn_wbb_game_probabilities(),
espn_wbb_game_propbets(),
espn_wbb_game_team_linescores(),
espn_wbb_game_team_roster_entry(),
espn_wbb_injuries(),
espn_wbb_leaders(),
espn_wbb_news(),
espn_wbb_player_awards(),
espn_wbb_player_eventlog_v2(),
espn_wbb_player_info(),
espn_wbb_player_overview(),
espn_wbb_player_seasons(),
espn_wbb_player_stats(),
espn_wbb_position(),
espn_wbb_positions(),
espn_wbb_powerindex(),
espn_wbb_rankings(),
espn_wbb_scoreboard(),
espn_wbb_season_awards(),
espn_wbb_season_group(),
espn_wbb_season_groups(),
espn_wbb_season_info(),
espn_wbb_season_leaders(),
espn_wbb_season_ranking(),
espn_wbb_season_rankings(),
espn_wbb_season_type(),
espn_wbb_season_types(),
espn_wbb_season_week(),
espn_wbb_season_weeks(),
espn_wbb_seasons(),
espn_wbb_standings(),
espn_wbb_team(),
espn_wbb_team_injuries(),
espn_wbb_team_news(),
espn_wbb_team_record_detail(),
espn_wbb_team_schedule(),
espn_wbb_team_season_roster(),
espn_wbb_team_season_statistics(),
espn_wbb_team_stats(),
espn_wbb_teams(),
espn_wbb_tournament(),
espn_wbb_tournament_season(),
espn_wbb_tournament_seasons(),
espn_wbb_tournaments(),
espn_wbb_venues(),
espn_wbb_week_ranking(),
espn_wbb_week_rankings()
# LeBron James — regular + postseason combined
espn_wbb_player_career_stats(athlete_id = 4433404)
# Just career aggregate
espn_wbb_player_career_stats(athlete_id = 4433404, stat_type = 2L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.