Learn R Programming

wehoop (version 3.0.0)

espn_wnba_player_overview: Get ESPN WNBA Athlete Overview

Description

Get ESPN WNBA Athlete Overview

Get ESPN WNBA Athlete Stats

Get ESPN WNBA Athlete Gamelog

Get ESPN WNBA Athlete Splits

Get ESPN WNBA Athlete Eventlog

Get ESPN WNBA Athlete Eventlog

Get ESPN WNBA Athlete Statisticslog

Usage

espn_wnba_player_overview(athlete_id, season = most_recent_wnba_season(), ...)

espn_wnba_player_stats_v3(athlete_id, season = most_recent_wnba_season(), ...)

espn_wnba_player_gamelog(athlete_id, season = most_recent_wnba_season(), ...)

espn_wnba_player_splits(athlete_id, season = most_recent_wnba_season(), ...)

espn_wnba_player_eventlog(athlete_id, season = most_recent_wnba_season(), ...)

espn_wnba_player_statisticslog( athlete_id, season = most_recent_wnba_season(), ... )

Value

A named list of data frames: Statistics, NextGame, Last5Games, Headlines, FantasyOutlook.

Statistics

Columns as documented in the shared espn_basketball_player_overview_statistics_schema table.

NextGame

Columns as documented in the shared espn_basketball_player_overview_next_game_schema table.

Last5Games

Columns as documented in the shared espn_basketball_player_overview_statistics_schema table.

Headlines

col_nametypesdescription
headlinecharacterNews headline.
descriptioncharacterLong-form description text.
publishedcharacterPublication timestamp (ISO 8601).

FantasyOutlook

Columns as documented in the shared espn_basketball_player_overview_statistics_schema table.

A wide wehoop_data tibble, one row per athlete-season-team, with the ESPN stat categories spread across prefixed columns:

col_nametypesdescription
athlete_idcharacterESPN athlete identifier (echoed input).
seasonintegerSeason year for the stat line.
team_idcharacterESPN team identifier for that season.
team_slugcharacterTeam slug (e.g. 'phoenix-mercury').
avg_*numericPer-game season-average stats (e.g. avg_avg_points).
tot_*numericSeason-total stats (e.g. tot_points).
misc_*numericMiscellaneous season totals.

Stat column names come from ESPN's positional names array per category, cleaned via janitor::make_clean_names(); the exact set varies by season.

A single tibble with one row per game. Column names reflect the stat labels returned by ESPN and will vary by season and player.

A single long-format tibble. When data are present, columns include at minimum category and split_name, plus per-stat columns driven by ESPN labels.

A single tibble. Per-event statistics.$ref URLs from the ESPN core-v2 API are returned as the character column statistics_ref and are NOT resolved. Similarly, event_ref, competition_ref, and team_ref are returned as character columns.

col_nametypesdescription
event_refcharacterReference link to the originating event.
competition_refcharacterCompetition ref.
team_refcharacterTeam ref.
statistics_refcharacterStatistics ref.

A single tibble. When resolved, each row corresponds to one statistical entry in the core-v2 statistics log, with event_ref and statistics_ref character columns pointing to resolvable ESPN endpoints.

col_nametypesdescription
event_refcharacterReference link to the originating event.
statistics_refcharacterStatistics ref.

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

season

Season year (numeric). Defaults to the most recent WNBA season.

...

Additional arguments; currently unused.

Author

Saiem Gilani

See Also

Other ESPN WNBA Functions: espn_wnba_athletes_index(), espn_wnba_award(), espn_wnba_calendar(), espn_wnba_coach_season(), espn_wnba_coaches(), espn_wnba_conferences(), espn_wnba_draft(), espn_wnba_draft_athlete_detail(), espn_wnba_draft_pick(), espn_wnba_draft_rounds(), espn_wnba_franchise(), espn_wnba_franchises(), espn_wnba_freeagents(), espn_wnba_futures(), espn_wnba_game_all(), espn_wnba_game_odds(), espn_wnba_game_official_detail(), espn_wnba_game_play(), espn_wnba_game_play_personnel(), espn_wnba_game_player_box(), espn_wnba_game_probabilities(), espn_wnba_game_propbets(), espn_wnba_game_team_linescores(), espn_wnba_game_team_roster_entry(), espn_wnba_injuries(), espn_wnba_leaders(), espn_wnba_news(), espn_wnba_player_awards(), espn_wnba_player_career_stats(), espn_wnba_player_eventlog_v2(), espn_wnba_player_info(), espn_wnba_player_seasons(), espn_wnba_player_stats(), espn_wnba_position(), espn_wnba_positions(), espn_wnba_powerindex(), espn_wnba_scoreboard(), espn_wnba_season_awards(), espn_wnba_season_group(), espn_wnba_season_groups(), espn_wnba_season_info(), espn_wnba_season_leaders(), espn_wnba_season_ranking(), espn_wnba_season_rankings(), espn_wnba_season_type(), espn_wnba_season_types(), espn_wnba_season_week(), espn_wnba_season_weeks(), espn_wnba_seasons(), espn_wnba_standings(), espn_wnba_team(), espn_wnba_team_injuries(), espn_wnba_team_news(), espn_wnba_team_record(), espn_wnba_team_record_detail(), espn_wnba_team_schedule(), espn_wnba_team_season_roster(), espn_wnba_team_season_statistics(), espn_wnba_team_stats(), espn_wnba_teams(), espn_wnba_transactions(), espn_wnba_venues(), espn_wnba_week_ranking(), espn_wnba_week_rankings()

Examples

Run this code
# \donttest{
  espn_wnba_player_overview(athlete_id = "3149391", season = 2024)
# }
# \donttest{
  espn_wnba_player_stats_v3(athlete_id = "4068159", season = 2024)
# }
# \donttest{
  espn_wnba_player_gamelog(athlete_id = "3149391", season = 2024)
# }
# \donttest{
  espn_wnba_player_splits(athlete_id = "3149391", season = 2024)
# }
# \donttest{
  espn_wnba_player_eventlog(athlete_id = "3149391", season = 2024)
# }
# \donttest{
  espn_wnba_player_statisticslog(athlete_id = "3149391", season = 2024)
# }

Run the code above in your browser using DataLab