Skip to contents

Get ESPN WCH Play-by-Play

Usage

espn_wch_pbp(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble, one row per play:

col_nametypedescription
idcharacterESPN play identifier.
sequence_numbercharacterPlay sequence number.
type_idcharacterPlay type identifier.
type_textcharacterPlay type display text.
textcharacterPlay description text.
away_scoreintegerAway team score at time of play.
home_scoreintegerHome team score at time of play.
scoring_playlogicalWhether the play resulted in a goal.
score_valueintegerGoal value (1 for regulation/OT goals).
shooting_playlogicalWhether the play was a shot attempt.
wallclockcharacterWall-clock timestamp (ISO 8601).
period_numberintegerPeriod number (1-3 regulation, 4+ OT/SO).
period_display_valuecharacterPeriod display label (e.g. "1st Period").
clock_display_valuecharacterGame clock display string (e.g. "14:32").
team_idcharacterESPN team identifier for the acting team.
coordinate_xnumericX coordinate of play location.
coordinate_ynumericY coordinate of play location.
strength_idcharacterStrength situation identifier.
strength_textcharacterStrength situation text (e.g. "Even Strength").
shot_info_idcharacterShot type identifier.
shot_info_textcharacterShot type text (e.g. "Wrist Shot").
athlete_id_1characterPrimary participant athlete identifier.
athlete_id_2characterSecondary participant athlete identifier.
athlete_id_3characterTertiary participant athlete identifier.
home_team_idcharacterHome team ESPN identifier.
home_team_namecharacterHome team name.
home_team_locationcharacterHome team city/location.
home_team_abbrevcharacterHome team abbreviation.
home_team_display_namecharacterHome team display name.
home_team_colorcharacterHome team primary color hex.
home_team_alternate_colorcharacterHome team alternate color hex.
home_team_logocharacterHome team logo URL.
home_team_scorecharacterHome team final score.
home_team_winnerlogicalWhether the home team won.
away_team_idcharacterAway team ESPN identifier.
away_team_namecharacterAway team name.
away_team_locationcharacterAway team city/location.
away_team_abbrevcharacterAway team abbreviation.
away_team_display_namecharacterAway team display name.
away_team_colorcharacterAway team primary color hex.
away_team_alternate_colorcharacterAway team alternate color hex.
away_team_logocharacterAway team logo URL.
away_team_scorecharacterAway team final score.
away_team_winnerlogicalWhether the away team won.
game_idcharacterESPN event identifier (echoed from arg).
seasonintegerSeason end-year.
season_typeintegerSeason type code.
game_datecharacterGame date-time (ISO 8601).

Details

League slug womens-college-hockey. Parsed from the site-v2 summary payload by the same helper as espn_nhl_pbp(); columns verified against a captured wch summary body.

See also

Other ESPN WCH Functions: espn_wch_award(), espn_wch_awards(), espn_wch_calendar(), espn_wch_coach(), espn_wch_coach_record(), espn_wch_coach_season(), espn_wch_conferences(), espn_wch_draft(), espn_wch_fpi(), espn_wch_franchise(), espn_wch_franchises(), espn_wch_game(), espn_wch_game_broadcasts(), espn_wch_game_competition(), espn_wch_game_leaders(), espn_wch_game_odds(), espn_wch_game_official_detail(), espn_wch_game_officials(), espn_wch_game_play(), espn_wch_game_play_personnel(), espn_wch_game_plays(), espn_wch_game_powerindex(), espn_wch_game_predictor(), espn_wch_game_probabilities(), espn_wch_game_propbets(), espn_wch_game_scoringplays(), espn_wch_game_situation(), espn_wch_game_status(), espn_wch_game_team(), espn_wch_game_team_leaders(), espn_wch_game_team_linescores(), espn_wch_game_team_record(), espn_wch_game_team_roster(), espn_wch_game_team_statistics(), espn_wch_game_teams(), espn_wch_games(), espn_wch_injuries(), espn_wch_leaders(), espn_wch_leaders_core(), espn_wch_league_notes(), espn_wch_league_root(), espn_wch_news(), espn_wch_player_awards(), espn_wch_player_bio(), espn_wch_player_box(), espn_wch_player_career_stats(), espn_wch_player_contracts(), espn_wch_player_core(), espn_wch_player_eventlog(), espn_wch_player_gamelog(), espn_wch_player_info(), espn_wch_player_injuries(), espn_wch_player_news(), espn_wch_player_notes(), espn_wch_player_overview(), espn_wch_player_records(), espn_wch_player_seasons(), espn_wch_player_splits(), espn_wch_player_statisticslog(), espn_wch_player_stats(), espn_wch_player_vs_player(), espn_wch_players_index(), espn_wch_position(), espn_wch_positions(), espn_wch_rankings(), espn_wch_recruiting_players(), espn_wch_recruiting_rankings(), espn_wch_recruiting_years(), espn_wch_scoreboard(), espn_wch_season_awards(), espn_wch_season_coaches(), espn_wch_season_draft(), espn_wch_season_draft_round_picks(), espn_wch_season_freeagents(), espn_wch_season_futures(), espn_wch_season_group(), espn_wch_season_group_children(), espn_wch_season_group_teams(), espn_wch_season_groups(), espn_wch_season_info(), espn_wch_season_players(), espn_wch_season_pointer(), espn_wch_season_powerindex(), espn_wch_season_powerindex_leaders(), espn_wch_season_recruits(), espn_wch_season_team(), espn_wch_season_teams(), espn_wch_season_type(), espn_wch_season_type_corrections(), espn_wch_season_type_leaders(), espn_wch_season_types(), espn_wch_season_week(), espn_wch_season_week_games(), espn_wch_season_week_powerindex(), espn_wch_season_week_rankings(), espn_wch_season_weeks(), espn_wch_seasons(), espn_wch_standings(), espn_wch_standings_core(), espn_wch_statistics_league(), espn_wch_summary(), espn_wch_talentpicks(), espn_wch_team(), espn_wch_team_box(), espn_wch_team_core(), espn_wch_team_depthcharts(), espn_wch_team_history(), espn_wch_team_injuries(), espn_wch_team_leaders(), espn_wch_team_news(), espn_wch_team_record(), espn_wch_team_roster(), espn_wch_team_schedule(), espn_wch_team_transactions(), espn_wch_teams_core(), espn_wch_teams_site(), espn_wch_tournaments(), espn_wch_transactions(), espn_wch_venue(), espn_wch_venues()

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_wch_pbp(game_id = "401762970"))
#> ── WOMENS-COLLEGE-HOCKEY Play-by-Play data from ESPN.com ── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-02 03:47:47 UTC
#> # A tibble: 12 × 48
#>    id             sequence_number type_id type_text text   away_score home_score
#>    <chr>          <chr>           <chr>   <chr>     <chr>       <int>      <int>
#>  1 40176297004123 1               509     Penalty   Penal…          0          0
#>  2 40176297004124 1               505     Goal      Power…          1          0
#>  3 40176297004127 2               509     Penalty   Penal…          0          0
#>  4 40176297004131 2               505     Goal      Even …          1          1
#>  5 40176297004134 3               509     Penalty   Penal…          0          0
#>  6 40176297004135 3               505     Goal      Even …          1          2
#>  7 40176297004140 4               509     Penalty   Penal…          0          0
#>  8 40176297004142 5               509     Penalty   Penal…          0          0
#>  9 40176297004143 4               505     Goal      Power…          1          3
#> 10 40176297004145 6               509     Penalty   Penal…          0          0
#> 11 40176297004146 5               505     Goal      Short…          1          4
#> 12 40176297004147 7               509     Penalty   Penal…          0          0
#> # ℹ 41 more variables: scoring_play <lgl>, score_value <int>,
#> #   shooting_play <lgl>, wallclock <chr>, period_number <int>,
#> #   period_display_value <chr>, clock_display_value <chr>, team_id <chr>,
#> #   coordinate_x <dbl>, coordinate_y <dbl>, strength_id <chr>,
#> #   strength_text <chr>, shot_info_id <chr>, shot_info_text <chr>,
#> #   athlete_id_1 <chr>, athlete_id_2 <chr>, athlete_id_3 <chr>,
#> #   home_team_id <chr>, home_team_name <chr>, home_team_location <chr>, …
# }