Package 'fastRhockey'

Title: Functions to Access Professional Women's Hockey League and National Hockey League Play by Play Data
Description: A utility to scrape and load play-by-play data and statistics from the Professional Women's Hockey League <https://www.thepwhl.com/>, formerly known as the Premier Hockey Federation (PHF) or National Women's Hockey League (NWHL). Additionally, allows access to the National Hockey League's stats API <https://www.nhl.com/>.
Authors: Ben Howell [aut], Saiem Gilani [aut, cre] (ORCID: <https://orcid.org/0000-0002-7194-9067>), Alyssa Longmuir [ctb]
Maintainer: Saiem Gilani <[email protected]>
License: MIT + file LICENSE
Version: 1.0.0
Built: 2026-06-09 11:01:31 UTC
Source: https://github.com/sportsdataverse/fastrhockey

Help Index


Load .csv / .csv.gz file from a remote connection

Description

This is a thin wrapper on data.table::fread

Usage

csv_from_url(...)

Arguments

...

passed to data.table::fread

Value

a dataframe as created by data.table::fread()


Data in the package for reference

Description

A dataset containing the full team names, abbreviations, colors & logos for all 32 active NHL teams plus historical/relocated franchises retained for joining against older data. Filter on division != "Relocated" to limit to active teams.

A dataset containing the full team names, abbreviations, colors & logos for all PHF teams.

A dataset containing the full team names, abbreviations, colors & logos for all PWHL teams. Carries 14 rows: the 6 founding franchises appear twice each — once under their inaugural 2023-24 identity (⁠PWHL Boston⁠, etc., matching the live pwhl_teams() payload) and once under their 2024-25 rebranded identity (Boston Fleet, Minnesota Frost, Montréal Victoire, New York Sirens, Ottawa Charge, Toronto Sceptres). Plus the two 2025-26 expansion teams (Seattle Torrent and Vancouver Goldeneyes). The shared team_abbr across pre/post rebrand rows makes historical joins straightforward.

Usage

nhl_team_logos

phf_team_logos

pwhl_team_logos

Format

A data frame with 34 rows and 11 variables:

  • full_team_name - full team name

  • team_abbr - NHL.com team abbreviation

  • team_nick - lowercase, no spaces team nickname

  • division - current NHL division, or "Relocated" for inactive franchises

  • conference - current NHL conference, or "Relocated" for inactive franchises

  • team_logo_espn - primary team logo from ESPN.com

  • team_color1 - current primary team color

  • team_color2 - current secondary team color

  • team_logo_alternate - alternate or throwback logo

  • team_color_alt1 - alternate logo primary color

  • team_color_alt2 - alternate logo secondary color

A data frame with 6 rows and 7 variables:

  • full_team_name - Full team name

  • team_abbr - PremierHockeyFederation.com team abbreviation

  • team_nick - Team Nickname

  • team_location - PHF team location

  • team_color1 - Current primary team color. Full disclosure, I just color picked from the logos

  • team_color2 - Current secondary team color. Full disclosure, I just color picked from the logos

  • team_logo - Primary team logo from fastRhockey data repository

A data frame with 14 rows and 7 variables:

  • full_team_name - Full team name (legacy or rebranded)

  • team_abbr - HockeyTech team code (BOS, MIN, MON, NY, OTT, TOR for the six founders; SEA, VAN for the expansion teams)

  • team_nick - Team nickname (or city, for the legacy ⁠PWHL <city>⁠ entries)

  • team_location - Team location / city

  • team_color1 - Best-effort primary team color (hex)

  • team_color2 - Best-effort secondary team color (hex)

  • team_logo - Primary team logo URL from the live PWHL CDN; NA for the two expansion teams until logos are catalogued


Get ESPN NHL Athletes Index (core-v2)

Description

Get ESPN NHL Athletes Index (core-v2)

Usage

espn_nhl_athletes_index(active = TRUE, limit = 100, page = 1, ...)

Arguments

active

Filter by active status. TRUE (default) = active players only; FALSE = inactive only; NULL = no filter.

limit

Number of athletes per page (default 100; max ~200).

page

Page number (default 1). Use page_count from the result to determine the total number of pages.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per athlete in the requested page. Surface count and page_count to manage pagination.

col_name types description
ref character ⁠$ref⁠ URL for the athlete object.
athlete_id character ESPN athlete id parsed from the ⁠$ref⁠ URL.
active logical The active filter value echoed from arg.
page integer The page value echoed from arg.
count integer Total athlete count matching the filter.
page_count integer Total number of pages.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_athletes_index(active = TRUE, limit = 10, page = 1))

Get ESPN NHL Award (core-v2)

Description

Get ESPN NHL Award (core-v2)

Usage

espn_nhl_award(award_id, ...)

Arguments

award_id

ESPN award identifier (character or numeric). Use espn_nhl_awards()$award_id to discover valid award ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with award metadata, or an empty tibble when the endpoint is unavailable. Note: The individual award endpoint (core_v2/awards/{award_id}) currently returns HTTP 500 for all tested NHL award ids — an empty tibble is returned gracefully:

col_name types description
award_id character Award id (echoed from arg).
id character ESPN award identifier (if returned).
name character Award name (if returned).
display_name character Award display name (if returned).
description character Award description (if returned).
award_ref character ⁠$ref⁠ URL for the award object (if returned).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN returns HTTP 500 for this endpoint)
  try({
    awards <- espn_nhl_awards()
    if (nrow(awards) > 0) espn_nhl_award(award_id = awards$award_id[1])
  })

Get ESPN NHL Awards (core-v2)

Description

Get ESPN NHL Awards (core-v2)

Usage

espn_nhl_awards(limit = 100, ...)

Arguments

limit

Maximum number of awards to return per page (default 100). The NHL has 34 awards; 100 returns all in one request.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per award:

col_name types description
ref character ⁠$ref⁠ URL for the award object.
award_id character ESPN award id parsed from the ⁠$ref⁠ URL.
count integer Total awards in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_awards())

Get ESPN NHL Calendar

Description

Get ESPN NHL Calendar

Usage

espn_nhl_calendar(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game date:

col_name types description
date character Game date (ISO 8601 datetime string).
calendar_type character Calendar type (e.g. "day").
calendar_start_date character Calendar season start date.
calendar_end_date character Calendar season end date.
calendar_is_whitelist logical Whether dates are a whitelist of game days.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_calendar())

Get ESPN NHL Calendar Offseason Dates (core-v2)

Description

Get ESPN NHL Calendar Offseason Dates (core-v2)

Usage

espn_nhl_calendar_offseason(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per offseason date. May return zero rows when the offseason calendar is empty for the requested season.

col_name types description
date character Date (ISO 8601 datetime string).
date_type character Calendar date type.
start_date character Season start date.
end_date character Season end date.
season integer Season year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_calendar_offseason(season = 2026))

Get ESPN NHL Calendar On-Days (core-v2)

Description

Get ESPN NHL Calendar On-Days (core-v2)

Usage

espn_nhl_calendar_ondays(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game date. The endpoint returns all dates in the current season that have games (typically ~227 dates for a full regular season).

col_name types description
date character Game date (ISO 8601 datetime string).
date_type character Calendar date type (e.g. "day").
start_date character Season start date.
end_date character Season end date.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_calendar_ondays())

Get ESPN NHL Calendar Postseason Dates (core-v2)

Description

Get ESPN NHL Calendar Postseason Dates (core-v2)

Usage

espn_nhl_calendar_postseason(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per postseason date. May return zero rows when postseason calendar is empty for the requested season.

col_name types description
date character Date (ISO 8601 datetime string).
date_type character Calendar date type.
start_date character Season start date.
end_date character Season end date.
season integer Season year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_calendar_postseason(season = 2026))

Get ESPN NHL Calendar Regular-Season Dates (core-v2)

Description

Get ESPN NHL Calendar Regular-Season Dates (core-v2)

Usage

espn_nhl_calendar_regular_season(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per regular-season game date. Uses the core-v2 calendar/whitelist endpoint, which is the working equivalent of the sdv-py calendar/regular-season path (the regular-season path returns HTTP 400/503 for NHL; whitelist returns identical data with HTTP 200).

col_name types description
date character Game date (ISO 8601 datetime string).
date_type character Calendar date type (e.g. "day").
start_date character Season start date.
end_date character Season end date.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_calendar_regular_season())

Get ESPN NHL Coach (core-v2)

Description

Get ESPN NHL Coach (core-v2)

Usage

espn_nhl_coach(coach_id, ...)

Arguments

coach_id

ESPN coach identifier (character or numeric). Use espn_nhl_coaches() to discover valid coach ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with coach detail. Note that careerRecords and coachSeasons are sparse (empty arrays) for many NHL coaches — see espn_nhl_coach_record() for season-scoped records:

col_name types description
coach_id character ESPN coach id (echoed from arg).
id character ESPN coach identifier from response.
uid character Coach uid string.
first_name character Coach first name.
last_name character Coach last name.
date_of_birth character Coach date of birth (ISO 8601).
birth_city character Coach birth city.
birth_country character Coach birth country.
experience integer Years of coaching experience (if returned).
coach_ref character ⁠$ref⁠ URL for this coach object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    ccs <- espn_nhl_coaches(season = 2026)
    espn_nhl_coach(coach_id = ccs$coach_id[1])
  })

Get ESPN NHL Coach Record (core-v2)

Description

Get ESPN NHL Coach Record (core-v2)

Usage

espn_nhl_coach_record(coach_id, ...)

Arguments

coach_id

ESPN coach identifier (character or numeric). Use espn_nhl_coaches() to discover valid coach ids.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with coach career record data, or an empty tibble when the endpoint is unavailable. Note: The coach record path (coaches/{id}/record) returns HTTP 404 for NHL — this endpoint is not populated by ESPN for the NHL league. An empty tibble is returned gracefully with a warning:

col_name types description
coach_id character ESPN coach id (echoed from arg).
... varies Additional record fields if returned (sparse for NHL).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns an empty tibble for NHL (404 from ESPN)
  try({
    ccs <- espn_nhl_coaches(season = 2026)
    espn_nhl_coach_record(coach_id = ccs$coach_id[1])
  })

Get ESPN NHL Coach Season (core-v2)

Description

Get ESPN NHL Coach Season (core-v2)

Usage

espn_nhl_coach_season(coach_id, season = most_recent_nhl_season(), ...)

Arguments

coach_id

ESPN coach identifier (character or numeric). Use espn_nhl_season_coaches() to find valid IDs.

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per coach:

col_name types description
coach_id character ESPN coach identifier (echoed from arg).
season integer Season year (echoed from arg).
espn_id character ESPN internal coach id.
uid character ESPN unique uid.
first_name character Coach first name.
last_name character Coach last name.
date_of_birth character Date of birth (ISO 8601).
birth_city character Birth city.
birth_country character Birth country.
person_ref character ⁠$ref⁠ URL for the coach person object on core-v2.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_coach_season(coach_id = "900", season = 2026))

Get ESPN NHL Coaches (core-v2)

Description

Get ESPN NHL Coaches (core-v2)

Usage

espn_nhl_coaches(season = most_recent_nhl_season(), limit = 100, page = 1, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season(). The league-level coaches collection (⁠/leagues/nhl/coaches⁠) returns HTTP 404 for NHL; this function uses the season-scoped path (seasons/{season}/coaches) which is confirmed to work.

limit

Maximum number of coaches to return per page (default 100). The NHL typically lists ~30 head coaches per season.

page

Page number (1-indexed, default 1).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per coach reference:

col_name types description
ref character ⁠$ref⁠ URL for the coach-in-season object.
coach_id character ESPN coach id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
page integer Page number (echoed from arg).
count integer Total coaches in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_coaches(season = 2026))

Get ESPN NHL Conferences

Description

Get ESPN NHL Conferences

Usage

espn_nhl_conferences(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per conference/division combination (4 rows for NHL: 2 conferences x 2 divisions each):

col_name types description
conference_name character Conference name (e.g. "Eastern Conference").
conference_abbreviation character Conference abbreviation.
division_name character Division name (e.g. "Atlantic Division").
division_abbreviation character Division abbreviation.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_conferences())

Get ESPN NHL Countries (core-v2)

Description

Get ESPN NHL Countries (core-v2)

Usage

espn_nhl_countries(limit = 200, ...)

Arguments

limit

Maximum number of countries to return (default 200).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per country reference, or an empty tibble when the endpoint is unpopulated. Note: The NHL countries endpoint (leagues/nhl/countries) returns count=0 — ESPN does not populate this collection for the NHL. An empty tibble is returned gracefully with a warning:

col_name types description
ref character ⁠$ref⁠ URL for the country object.
country_id character ESPN country id parsed from the ⁠$ref⁠ URL.
count integer Total countries (typically 0 for NHL).
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not populate this endpoint)
  try(espn_nhl_countries())

Get ESPN NHL Draft

Description

Get ESPN NHL Draft

Usage

espn_nhl_draft(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with draft data, or an empty tibble when the endpoint is unavailable. Note: The NHL draft endpoint (site/v2/sports/hockey/nhl/draft) currently returns HTTP 500 for NHL — an empty tibble is returned gracefully:

col_name types description
id character Draft entry identifier (if returned).
name character Draft entry name (if returned).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN returns HTTP 500 for this endpoint)
  try(espn_nhl_draft())

Get ESPN NHL Franchise (core-v2)

Description

Get ESPN NHL Franchise (core-v2)

Usage

espn_nhl_franchise(franchise_id, ...)

Arguments

franchise_id

ESPN franchise identifier (character or numeric). Use espn_nhl_franchises() to discover valid franchise ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with franchise detail:

col_name types description
franchise_id character ESPN franchise id (echoed from arg).
id character ESPN franchise identifier from response.
uid character Franchise uid string.
slug character Franchise URL slug.
location character Franchise city/location.
name character Franchise mascot name.
nickname character Franchise nickname.
abbreviation character Franchise abbreviation.
display_name character Franchise display name.
short_display_name character Franchise short display name.
color character Franchise primary color hex.
is_active logical Whether the franchise is currently active.
venue_ref character ⁠$ref⁠ URL for the franchise's current venue.
team_ref character ⁠$ref⁠ URL for the current season team object.
franchise_ref character ⁠$ref⁠ URL for this franchise object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    fcs <- espn_nhl_franchises()
    espn_nhl_franchise(franchise_id = fcs$franchise_id[1])
  })

Get ESPN NHL Franchises (core-v2)

Description

Get ESPN NHL Franchises (core-v2)

Usage

espn_nhl_franchises(limit = 100, ...)

Arguments

limit

Maximum number of franchises to return (default 100). The NHL has 32 active franchises; 100 returns all in one request.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per franchise reference:

col_name types description
ref character ⁠$ref⁠ URL for the franchise object.
franchise_id character ESPN franchise id parsed from the ⁠$ref⁠ URL.
count integer Total franchises in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_franchises())

Get ESPN NHL Game Metadata (core-v2)

Description

Get ESPN NHL Game Metadata (core-v2)

Usage

espn_nhl_game(event_id, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with event metadata:

col_name types description
event_id character ESPN event id (echoed from arg).
id character ESPN event identifier.
uid character Event uid string.
date character Game date/time (ISO 8601 UTC).
name character Full game name (e.g. "Chicago Blackhawks at Detroit Red Wings").
short_name character Short name (e.g. "CHI \@ DET").
time_valid logical Whether the start time is confirmed.
competition_id character Id of the primary competition (equals event_id for NHL).
competition_ref character ⁠$ref⁠ URL for the primary competition object.
venue_ref character ⁠$ref⁠ URL for the venue.
season_ref character ⁠$ref⁠ URL for the season.
season_type_ref character ⁠$ref⁠ URL for the season type.
league_ref character ⁠$ref⁠ URL for the league.
event_ref character ⁠$ref⁠ URL for this event object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Data (PBP + Team Box + Player Box)

Description

Get ESPN NHL Game Data (PBP + Team Box + Player Box)

Usage

espn_nhl_game_all(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A named list with three elements, all parsed from a single HTTP request to the ESPN summary endpoint:

  • playsfastRhockey_data tibble, one row per play. See espn_nhl_pbp() for the full column reference.

  • team_boxfastRhockey_data tibble, one row per team (2 rows). See espn_nhl_team_box() for the full column reference.

  • player_boxfastRhockey_data tibble, one row per player. See espn_nhl_player_box() for the full column reference.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

g <- try(espn_nhl_game_all(game_id = "401688263"))
  if (!inherits(g, "try-error")) {
    names(g)           # "plays" "team_box" "player_box"
    nrow(g$plays)
    nrow(g$team_box)
    nrow(g$player_box)
  }

Get ESPN NHL Game Broadcasts (core-v2)

Description

Get ESPN NHL Game Broadcasts (core-v2)

Usage

espn_nhl_game_broadcasts(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per broadcast (regional TV + national, typically 2-4 rows):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
type_id character Broadcast type id.
type_short_name character Broadcast type short name (e.g. "TV").
type_long_name character Broadcast type long name (e.g. "Television").
type_slug character Broadcast type slug.
channel integer Channel number identifier.
station character Station full name (e.g. "FanDuel Sports Network Detroit").
slug character Station slug.
priority integer Broadcast priority order.
lang character Broadcast language (e.g. "en").
region character Broadcast region (e.g. "us").
partnered logical Whether this is a partnered broadcast.
market_id character Market identifier.
market_type character Market type.
media_id character Media outlet identifier.
media_name character Media outlet full name.
media_short_name character Media outlet short name.
media_call_letters character Media outlet call letters.
media_slug character Media outlet slug.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_broadcasts(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Competition Detail (core-v2)

Description

Get ESPN NHL Game Competition Detail (core-v2)

Usage

espn_nhl_game_competition(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id (for NHL the single competition always has the same id as its parent event).

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with competition detail:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
id character ESPN competition identifier.
guid character Competition global unique identifier.
uid character Competition uid string.
date character Start date/time (ISO 8601 UTC).
attendance integer Announced attendance.
neutral_site logical Whether the game was played at a neutral venue.
time_valid logical Whether the start time is confirmed.
boxscore_available logical Whether boxscore data is available.
play_by_play_available logical Whether play-by-play data is available.
linescore_available logical Whether linescore data is available.
on_watch_espn logical Whether the game is/was on WatchESPN.
recent logical Whether the game is recent.
venue_ref character ⁠$ref⁠ URL for the venue.
competitors_ref character ⁠$ref⁠ URL for the competitors collection.
status_ref character ⁠$ref⁠ URL for the competition status object.
odds_ref character ⁠$ref⁠ URL for the odds collection.
officials_ref character ⁠$ref⁠ URL for the officials collection.
competition_ref character ⁠$ref⁠ URL for this competition object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_competition(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Leaders (core-v2)

Description

Get ESPN NHL Game Leaders (core-v2)

Usage

espn_nhl_game_leaders(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (category, leader) pair. Note: This endpoint is sparse for NHL — most games return an empty tibble with a warning. When populated:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
category_name character Stat category name.
category_display character Stat category display name.
category_abbr character Stat category abbreviation.
value numeric Leader stat value.
display_value character Formatted stat value.
athlete_ref character ⁠$ref⁠ URL for the leader athlete.
team_ref character ⁠$ref⁠ URL for the leader's team.
leader_ref character ⁠$ref⁠ URL for this leader entry.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_leaders(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Odds (core-v2)

Description

Get ESPN NHL Game Odds (core-v2)

Usage

espn_nhl_game_odds(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per odds provider (typically 2 rows per game — consensus + one sportsbook):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
provider_id character Odds provider identifier.
provider_name character Odds provider name.
provider_priority integer Provider display priority.
details character Odds detail string (e.g. "DET -185").
over_under numeric Over/under total line.
spread numeric Point spread.
over_odds numeric Over moneyline odds (American format).
under_odds numeric Under moneyline odds (American format).
moneyline_winner logical Whether the moneyline winner was determined.
spread_winner logical Whether the spread winner was determined.
away_team_favorite logical Whether the away team was the favorite.
away_team_moneyline integer Away team moneyline (American format).
home_team_favorite logical Whether the home team was the favorite.
home_team_moneyline integer Home team moneyline (American format).
open_over numeric Opening over decimal odds value.
open_under numeric Opening under decimal odds value.
open_total_american character Opening total line in American format (e.g. "5.5").
odds_ref character ⁠$ref⁠ URL for this odds object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_odds(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Official Detail (core-v2)

Description

Get ESPN NHL Game Official Detail (core-v2)

Usage

espn_nhl_game_official_detail(event_id, cid = event_id, official_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

official_id

ESPN official identifier. Use espn_nhl_game_officials(event_id)$official_id to find valid official ids for a game.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with official detail:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
official_id character ESPN official id (echoed from arg).
id character ESPN official identifier.
first_name character Official first name.
last_name character Official last name.
full_name character Official full name.
display_name character Official display name.
order integer Display order within officials list.
position_id character Official position identifier.
position_name character Official position name (e.g. "Linesman", "Referee").
position_display character Official position display name.
official_ref character ⁠$ref⁠ URL for this official object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb   <- espn_nhl_scoreboard(dates = "20250110")
    eid  <- sb$game_id[1]
    offs <- espn_nhl_game_officials(event_id = eid)
    espn_nhl_game_official_detail(event_id = eid, official_id = offs$official_id[1])
  })

Get ESPN NHL Game Officials (core-v2)

Description

Get ESPN NHL Game Officials (core-v2)

Usage

espn_nhl_game_officials(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per official (typically 4 — 2 referees + 2 linesmen):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
official_id character ESPN official identifier.
first_name character Official first name.
last_name character Official last name.
full_name character Official full name.
display_name character Official display name.
order integer Display order within officials list.
position_id character Official position identifier.
position_name character Official position name (e.g. "Referee", "Linesman").
position_display character Official position display name.
official_ref character ⁠$ref⁠ URL for this official object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_officials(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Play Detail (core-v2)

Description

Get ESPN NHL Game Play Detail (core-v2)

Usage

espn_nhl_game_play(event_id, cid = event_id, play_id, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

cid

Competition identifier. Defaults to event_id (for NHL the single competition always has the same id as its parent event).

play_id

ESPN play identifier. Use espn_nhl_game_plays(event_id)$id to find valid play ids for a game.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with play detail:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
play_id character ESPN play id (echoed from arg).
id character ESPN play identifier.
sequence_number integer Play sequence number within the game.
type_id character Play type id.
type_text character Play type label (e.g. "Goal", "Shot").
type_abbreviation character Play type abbreviation.
text character Full play description text.
short_text character Short play description text.
away_score integer Away team score after this play.
home_score integer Home team score after this play.
period_number integer Period number (1-3 regulation, 4+ OT).
period_display character Period display string (e.g. "1st").
clock_value numeric Clock value in seconds.
clock_display character Clock display string (e.g. "19:34").
scoring_play logical Whether this play resulted in a goal.
score_value integer Point value of the scoring play.
priority logical Whether this is a priority play for display.
shooting_play logical Whether this is a shot on goal.
is_penalty logical Whether this is a penalty play.
wallclock character Wall-clock UTC timestamp of the play.
play_ref character ⁠$ref⁠ URL for this play object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    pls <- espn_nhl_game_plays(event_id = eid)
    espn_nhl_game_play(event_id = eid, play_id = pls$id[1])
  })

Get ESPN NHL Game Play Personnel (core-v2)

Description

Get ESPN NHL Game Play Personnel (core-v2)

Usage

espn_nhl_game_play_personnel(event_id, cid = event_id, play_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

play_id

ESPN play identifier.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (competitor, athlete) pair on the play. For NHL this endpoint is typically sparse: the competitor block is present but the entries array is empty, yielding one row per team with NA athlete fields. Returns an empty data.frame() if the endpoint is not available.

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
play_id character ESPN play id (echoed from arg).
competitor_id character ESPN team/competitor id for this personnel block.
competitor_ref character ⁠$ref⁠ URL for the competitor object.
athlete_ref character ⁠$ref⁠ URL for the athlete (NA if entries are empty).
athlete_id character Athlete id parsed from the ⁠$ref⁠ (NA if entries empty).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    pls <- espn_nhl_game_plays(event_id = eid)
    espn_nhl_game_play_personnel(event_id = eid, play_id = pls$id[1])
  })

Get ESPN NHL Game Plays (core-v2 Play-by-Play)

Description

Get ESPN NHL Game Plays (core-v2 Play-by-Play)

Usage

espn_nhl_game_plays(event_id, cid = event_id, limit = 300, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

cid

Competition identifier. Defaults to event_id (for NHL the single competition always has the same id as its parent event).

limit

Maximum number of plays to return. Defaults to 300. A typical NHL game has 200-260 plays.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per play:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
id character ESPN play identifier.
sequence_number integer Play sequence number within the game.
type_id character Play type id.
type_text character Play type label (e.g. "Goal", "Shot", "Face Off").
type_abbreviation character Play type abbreviation.
text character Full play description text.
short_text character Short play description text.
period_number integer Period number (1-3 regulation, 4+ OT).
period_display character Period display string (e.g. "1st").
clock_value numeric Clock value in seconds.
clock_display character Clock display string (e.g. "19:34").
away_score integer Away team score after this play.
home_score integer Home team score after this play.
scoring_play logical Whether this play resulted in a goal.
score_value integer Point value of the scoring play (1 for a goal).
priority logical Whether this is a priority play for display.
shooting_play logical Whether this is a shot on goal.
is_penalty logical Whether this is a penalty play.
wallclock character Wall-clock UTC timestamp of the play.
coordinate_x numeric X coordinate on the ice surface.
coordinate_y numeric Y coordinate on the ice surface.
strength_id character Strength situation id (e.g. even strength, PP, SH).
strength_text character Strength situation description.
team_ref character ⁠$ref⁠ URL for the team associated with the play.
play_ref character ⁠$ref⁠ URL for this play object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_plays(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Power Index (core-v2)

Description

Get ESPN NHL Game Power Index (core-v2)

Usage

espn_nhl_game_powerindex(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with ESPN Power Index data. Note: This endpoint is sparse for NHL — most games return an empty tibble with a warning. When populated, columns contain power-index values alongside event_id and cid.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_powerindex(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Predictor (core-v2)

Description

Get ESPN NHL Game Predictor (core-v2)

Usage

espn_nhl_game_predictor(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with ESPN Predictor data. Note: This endpoint is sparse for NHL — most games return an empty tibble with a warning. When populated, scalar fields from the predictor object are returned as character columns alongside event_id and cid.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_predictor(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Win Probabilities (core-v2)

Description

Get ESPN NHL Game Win Probabilities (core-v2)

Usage

espn_nhl_game_probabilities(event_id, cid = event_id, limit = 300, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

limit

Maximum number of probability entries to return. Defaults to 300.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per play probability entry. Note: This endpoint is sparse for NHL — most games return an empty tibble with a warning. When populated, columns include:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
sequence_number integer Play sequence number this probability is tied to.
home_win_percentage numeric Home team win probability (0-1).
away_win_percentage numeric Away team win probability (0-1).
tie_percentage numeric Tie probability (0-1; typically 0 for NHL).
home_toss_up_change numeric Change in home team win probability.
away_toss_up_change numeric Change in away team win probability.
play_ref character ⁠$ref⁠ URL for the associated play object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_probabilities(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Prop Bets (core-v2)

Description

Get ESPN NHL Game Prop Bets (core-v2)

Usage

espn_nhl_game_propbets(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per prop bet. Note: this endpoint returns 404 for most NHL games; an empty data.frame() is returned in that case. When data is available (e.g. playoff games):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
id character Prop bet identifier.
name character Prop bet name.
description character Prop bet description.
display_value character Prop bet display value.
value numeric Prop bet numeric value.
propbet_ref character ⁠$ref⁠ URL for this prop bet item.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_propbets(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Scoring Plays (core-v2)

Description

Get ESPN NHL Game Scoring Plays (core-v2)

Usage

espn_nhl_game_scoringplays(event_id, cid = event_id, limit = 300, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

limit

Maximum number of plays to fetch for filtering. Defaults to 300. Only used when the dedicated scoringplays endpoint is unavailable and the function falls back to filtering game_plays().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per scoring play (goal). Implementation note: The dedicated ⁠/scoringplays⁠ core-v2 endpoint returns 404 for NHL; this function falls back to fetching all plays via espn_nhl_game_plays() and filtering to rows where scoring_play == TRUE. Columns are the same as espn_nhl_game_plays():

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
id character ESPN play identifier.
sequence_number integer Play sequence number within the game.
type_id character Play type id.
type_text character Play type label (always "Goal" for scoring plays).
text character Full play description text.
period_number integer Period number of the goal.
clock_display character Clock time of the goal.
away_score integer Away team score after the goal.
home_score integer Home team score after the goal.
scoring_play logical Always TRUE.
score_value integer Always 1 for NHL goals.
coordinate_x numeric X coordinate of the shot.
coordinate_y numeric Y coordinate of the shot.
strength_text character Strength situation (e.g. "Even Strength", "Power Play").
team_ref character ⁠$ref⁠ URL for the scoring team.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_scoringplays(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Situation (core-v2)

Description

Get ESPN NHL Game Situation (core-v2)

Usage

espn_nhl_game_situation(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with the game state at the moment of the last tracked play:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
power_play logical Whether a power play was in effect.
empty_net logical Whether the net was empty.
last_play_ref character ⁠$ref⁠ URL for the last tracked play object.
situation_ref character ⁠$ref⁠ URL for this situation object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_situation(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Status (core-v2)

Description

Get ESPN NHL Game Status (core-v2)

Usage

espn_nhl_game_status(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier. Use espn_nhl_scoreboard()$game_id to find valid event ids.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with game status detail:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
clock numeric Game clock value in seconds.
display_clock character Game clock display string (e.g. "0:00").
period integer Current or final period number.
type_id character Status type identifier.
type_name character Status type name (e.g. "STATUS_FINAL").
type_state character Status state (e.g. "pre", "in", "post").
type_completed logical Whether the game is complete.
type_description character Status description (e.g. "Final").
type_detail character Status detail string.
type_short_detail character Short status detail string.
status_ref character ⁠$ref⁠ URL for this status object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_status(event_id = sb$game_id[1])
  })

Get ESPN NHL Game Team (Competitor Detail, core-v2)

Description

Get ESPN NHL Game Team (Competitor Detail, core-v2)

Usage

espn_nhl_game_team(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier. Use espn_nhl_game_teams() to discover valid team ids for a game.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with competitor detail:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
id character ESPN competitor identifier.
uid character Competitor uid string.
type character Competitor type (e.g. "team").
order integer Competitor display order.
home_away character "home" or "away".
winner logical Whether this competitor won the game.
team_ref character ⁠$ref⁠ URL for the team-in-season object.
score_ref character ⁠$ref⁠ URL for the score object.
linescores_ref character ⁠$ref⁠ URL for the per-period linescores.
roster_ref character ⁠$ref⁠ URL for the game roster.
statistics_ref character ⁠$ref⁠ URL for the team game statistics.
leaders_ref character ⁠$ref⁠ URL for the team game leaders.
record_ref character ⁠$ref⁠ URL for the team record at the time of the game.
competitor_ref character ⁠$ref⁠ URL for this competitor object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Team Leaders (core-v2)

Description

Get ESPN NHL Game Team Leaders (core-v2)

Usage

espn_nhl_game_team_leaders(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier. Use espn_nhl_game_teams(event_id)$team_id to find valid team ids for a game.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (category, leader). For a typical completed NHL game there are 6 stat categories (goals, assists, points, plusMinus, penaltyMinutes, saves) with one leader each, yielding ~6 rows per team:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
category_name character Stat category name (e.g. "goals").
category_display character Stat category display name.
category_short character Stat category short display name.
category_abbr character Stat category abbreviation.
display_value character Leader stat display value (e.g. "2").
value numeric Leader stat numeric value.
athlete_ref character ⁠$ref⁠ URL for the leading athlete.
athlete_id character Athlete id parsed from the ⁠$ref⁠.
team_ref character ⁠$ref⁠ URL for the athlete's team.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team_leaders(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Team Linescores (core-v2)

Description

Get ESPN NHL Game Team Linescores (core-v2)

Usage

espn_nhl_game_team_linescores(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per period (3 rows for a regulation game, up to 4+ in overtime):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
period integer Period number (1 = 1st, 2 = 2nd, 3 = 3rd, 4+ = OT).
value numeric Goals scored in this period.
display_value character Display string for goals scored.
source_id character Data source identifier.
source_desc character Data source description (e.g. "feed").
linescore_ref character ⁠$ref⁠ URL for this period linescore object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team_linescores(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Team Record (core-v2)

Description

Get ESPN NHL Game Team Record (core-v2)

Usage

espn_nhl_game_team_record(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per record type (e.g. overall, home, road). Note: this endpoint returns 404 for most NHL games tested; an empty data.frame() is returned in that case.

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
name character Record type name (e.g. "overall", "home", "road").
abbreviation character Record type abbreviation.
type character Record type slug.
summary character Record summary string (e.g. "25-15-10").
display_value character Record display value.
value numeric Record numeric value (e.g. win percentage).
record_ref character ⁠$ref⁠ URL for this record item.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team_record(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Team Roster (core-v2)

Description

Get ESPN NHL Game Team Roster (core-v2)

Usage

espn_nhl_game_team_roster(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per rostered player (typically ~23 skaters + goalies per team):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
player_id character ESPN player/athlete identifier.
jersey character Player jersey number.
display_name character Player display name.
scratched logical Whether the player was a healthy scratch.
scratch_reason character Reason for scratch (if applicable).
athlete_id character Athlete id parsed from the ⁠$ref⁠ URL.
athlete_ref character ⁠$ref⁠ URL for the athlete-in-season object.
position_id character Position id parsed from the ⁠$ref⁠ URL.
position_ref character ⁠$ref⁠ URL for the player's position.
statistics_ref character ⁠$ref⁠ URL for the player's game statistics.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team_roster(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Team Statistics (core-v2)

Description

Get ESPN NHL Game Team Statistics (core-v2)

Usage

espn_nhl_game_team_statistics(event_id, cid = event_id, team_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

team_id

ESPN team/competitor identifier.

...

Reserved for forward compatibility.

Value

A wide one-row fastRhockey_data tibble. The first three columns are always present; the remaining stat columns are named ⁠<category>_<stat>⁠ (display value) and ⁠<category>_<stat>_value⁠ (numeric value) for each stat in each category. For a typical completed NHL game there are 5 stat categories (defensive, general, offensive, specialTeams, goalie) producing ~30 column pairs:

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN team id (echoed from arg).
category_stat character Display value for a stat within a category (e.g. offensive_goals).
category_stat_value numeric Numeric value for a stat within a category (e.g. offensive_goals_value).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb  <- espn_nhl_scoreboard(dates = "20250110")
    eid <- sb$game_id[1]
    tms <- espn_nhl_game_teams(event_id = eid)
    espn_nhl_game_team_statistics(event_id = eid, team_id = tms$team_id[1])
  })

Get ESPN NHL Game Teams (Competitors Collection, core-v2)

Description

Get ESPN NHL Game Teams (Competitors Collection, core-v2)

Usage

espn_nhl_game_teams(event_id, cid = event_id, ...)

Arguments

event_id

ESPN event (game) identifier.

cid

Competition identifier. Defaults to event_id.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per competitor (2 rows for a regular NHL game):

col_name types description
event_id character ESPN event id (echoed from arg).
cid character Competition id (echoed from arg).
team_id character ESPN competitor/team id.
uid character Competitor uid string.
type character Competitor type (e.g. "team").
order integer Competitor display order.
home_away character "home" or "away".
winner logical Whether this competitor won the game.
team_ref character ⁠$ref⁠ URL for the team-in-season object.
score_ref character ⁠$ref⁠ URL for the score object.
linescores_ref character ⁠$ref⁠ URL for the per-period linescores.
roster_ref character ⁠$ref⁠ URL for the game roster.
statistics_ref character ⁠$ref⁠ URL for the team game statistics.
leaders_ref character ⁠$ref⁠ URL for the team game leaders.
record_ref character ⁠$ref⁠ URL for the team record at the time of the game.
competitor_ref character ⁠$ref⁠ URL for this competitor object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    sb <- espn_nhl_scoreboard(dates = "20250110")
    espn_nhl_game_teams(event_id = sb$game_id[1])
  })

Get ESPN NHL Games (core-v2)

Description

Get ESPN NHL Games (core-v2)

Usage

espn_nhl_games(dates = NULL, limit = 100, ...)

Arguments

dates

Optional date string "YYYYMMDD" or range "YYYYMMDD-YYYYMMDD". When NULL (default) the most recent games are returned.

limit

Maximum number of events per page (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game event reference:

col_name types description
ref character ⁠$ref⁠ URL for the event object.
event_id character ESPN event id parsed from the ⁠$ref⁠ URL.
count integer Total events in the collection.
page_count integer Total pages in the collection.
dates character Dates filter (echoed from arg, if supplied).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_games(limit = 10))

Get ESPN NHL Injuries

Description

Get ESPN NHL Injuries

Usage

espn_nhl_injuries(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per injured player:

col_name types description
team_id character ESPN team identifier.
team_display_name character Team display name.
player_id character ESPN player identifier.
player_display_name character Player display name.
player_short_name character Player short name.
player_position character Player position abbreviation.
injury_id character ESPN injury identifier.
injury_status character Injury status (e.g. "Questionable", "Out").
injury_date character Injury date (ISO 8601).
injury_short_comment character Short injury comment.
injury_long_comment character Long injury comment.
injury_type character Injury type name.
injury_abbreviation character Injury type abbreviation.
detail_side character Injured side (e.g. "Left", "Right").
detail_fantasy_status character Fantasy relevance status.
detail_return_date character Projected return date.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_injuries())

Get ESPN NHL League Leaders

Description

Get ESPN NHL League Leaders

Usage

espn_nhl_leaders(
  category = "offensive",
  season = most_recent_nhl_season(),
  season_type = 2L,
  limit = 50L,
  page = 1L,
  ...
)

Arguments

category

Stat category to display. For NHL one of "offensive", "defensive", "general", "penalties", or NULL for all categories. Defaults to "offensive".

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season(). ESPN's NHL statistics/byathlete endpoint currently ignores this parameter and always returns the current/most-recent season. The argument is accepted for forward-compatibility but does not filter upstream. The returned season and season_type columns reflect the season ESPN actually served, not this value.

season_type

Season type code (1 = pre, 2 = regular, 3 = post). Defaults to 2. ESPN's NHL statistics/byathlete endpoint currently ignores this parameter. The returned season_type column reflects the type ESPN actually served.

limit

Athletes per page (default 50).

page

Page number (default 1).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per athlete:

col_name types description
season integer Season end-year ESPN actually served (from currentSeason$year).
season_type integer Season type id ESPN actually served (from currentSeason$type$id).
requested_season_year integer Season year from requestedSeason (mirrors season).
page integer Current page.
pagination_count integer Total athlete count.
pagination_limit integer Athletes per page.
pagination_pages integer Total page count.
league_id character ESPN league identifier.
league_name character League name.
league_abbreviation character League abbreviation.
athlete_id character ESPN athlete identifier.
athlete_display_name character Player display name.
athlete_short_name character Player short name.
athlete_slug character Player URL slug.
athlete_position character Position abbreviation.
athlete_jersey character Jersey number.
athlete_team_id character ESPN team identifier.
athlete_team_name character Team name.
athlete_team_short_name character Team short name.
athlete_team_logo character Team logo URL.
headshot_href character Player headshot URL.
debut_year integer Debut year.
age integer Player age.
offensive_goals character Goals (offensive category).
offensive_assists character Assists.
offensive_points character Points.
offensive_power_play_goals character Power-play goals.
offensive_shots_total character Shots on goal.
offensive_shooting_pct character Shooting percentage.
offensive_game_winning_goals character Game-winning goals.
offensive_rank_points character Rank by points.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_leaders(category = "offensive", limit = 25))

Get ESPN NHL League Leaders (core-v2)

Description

Get ESPN NHL League Leaders (core-v2)

Usage

espn_nhl_leaders_core(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (category, leader) combination. For a typical NHL season there are 7 stat categories with 25 leaders each (175 rows). For season-specific / season-type leaders use espn_nhl_season_type_leaders().

col_name types description
category_name character Stat category type (e.g. "offensive").
category_display_name character Category display name (e.g. "Goals").
category_short_display_name character Category short display name.
category_abbreviation character Category abbreviation.
display_value character Leader stat display value.
value numeric Leader stat numeric value.
rel character Relation type (e.g. "athlete").
athlete_ref character ⁠$ref⁠ URL for the athlete on core-v2.
statistics_ref character ⁠$ref⁠ URL for the athlete statistics.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_leaders_core())

Get ESPN NHL League Notes (core-v2)

Description

Get ESPN NHL League Notes (core-v2)

Usage

espn_nhl_league_notes(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per league note reference, or an empty tibble when the endpoint is unavailable. Note: The NHL league notes endpoint (core_v2/notes) currently returns count=0 — an empty tibble is returned gracefully:

col_name types description
ref character ⁠$ref⁠ URL for the note object.
note_id character ESPN note id parsed from the ⁠$ref⁠ URL.
count integer Total notes in the collection (typically 0).
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not populate this endpoint)
  try(espn_nhl_league_notes())

Get ESPN NHL League Root (core-v2)

Description

Get ESPN NHL League Root (core-v2)

Usage

espn_nhl_league_root(...)

Arguments

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with league metadata:

col_name types description
id character ESPN league identifier (e.g. "90" for NHL).
guid character League global unique identifier.
uid character League uid string.
name character Full league name.
display_name character League display name.
abbreviation character League abbreviation (e.g. "NHL").
short_name character League short name.
slug character League slug (e.g. "nhl").
is_tournament logical Whether the league is a tournament.
gender character League gender designation.
season_ref character ⁠$ref⁠ URL for the current season object.
seasons_ref character ⁠$ref⁠ URL for the seasons collection.
groups_ref character ⁠$ref⁠ URL for the groups collection.
franchises_ref character ⁠$ref⁠ URL for the franchises collection.
teams_ref character ⁠$ref⁠ URL for the teams collection.
events_ref character ⁠$ref⁠ URL for the events collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_league_root())

Get ESPN NHL News

Description

Get ESPN NHL News

Usage

espn_nhl_news(limit = 50, ...)

Arguments

limit

Maximum number of articles to return (default 50).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per article:

col_name types description
article_id character ESPN article identifier.
now_id character ESPN Now identifier.
content_key character Content management key.
type character Article type (e.g. "Story", "Media").
headline character Article headline.
description character Article description/excerpt.
last_modified character ISO 8601 last-modified datetime.
published character ISO 8601 published datetime.
byline character Author byline.
premium logical Whether the article is premium content.
image_href character URL of the lead image.
web_href character URL of the article on ESPN.com.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_news(limit = 10))

Get ESPN NHL Play-by-Play

Description

Get ESPN NHL Play-by-Play

Usage

espn_nhl_pbp(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per play:

col_name types description
id character ESPN play identifier.
sequence_number character Play sequence number.
type_id character Play type identifier.
type_text character Play type display text.
text character Play description text.
away_score integer Away team score at time of play.
home_score integer Home team score at time of play.
scoring_play logical Whether the play resulted in a goal.
score_value integer Goal value (1 for regulation/OT goals).
shooting_play logical Whether the play was a shot attempt.
wallclock character Wall-clock timestamp (ISO 8601).
period_number integer Period number (1-3 regulation, 4+ OT/SO).
period_display_value character Period display label (e.g. "1st Period").
clock_display_value character Game clock display string (e.g. "14:32").
team_id character ESPN team identifier for the acting team.
coordinate_x numeric X coordinate of play location.
coordinate_y numeric Y coordinate of play location.
strength_id character Strength situation identifier.
strength_text character Strength situation text (e.g. "Even Strength").
shot_info_id character Shot type identifier.
shot_info_text character Shot type text (e.g. "Wrist Shot").
athlete_id_1 character Primary participant athlete identifier.
athlete_id_2 character Secondary participant athlete identifier.
athlete_id_3 character Tertiary participant athlete identifier.
home_team_id character Home team ESPN identifier.
home_team_name character Home team name.
home_team_location character Home team city/location.
home_team_abbrev character Home team abbreviation.
home_team_display_name character Home team display name.
home_team_color character Home team primary color hex.
home_team_alternate_color character Home team alternate color hex.
home_team_logo character Home team logo URL.
home_team_score character Home team final score.
home_team_winner logical Whether the home team won.
away_team_id character Away team ESPN identifier.
away_team_name character Away team name.
away_team_location character Away team city/location.
away_team_abbrev character Away team abbreviation.
away_team_display_name character Away team display name.
away_team_color character Away team primary color hex.
away_team_alternate_color character Away team alternate color hex.
away_team_logo character Away team logo URL.
away_team_score character Away team final score.
away_team_winner logical Whether the away team won.
game_id character ESPN event identifier (echoed from arg).
season integer Season end-year.
season_type integer Season type code.
game_date character Game date-time (ISO 8601).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_pbp(game_id = "401688263"))

Get ESPN NHL Player Awards (core-v2)

Description

Get ESPN NHL Player Awards (core-v2)

Usage

espn_nhl_player_awards(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per award, or an empty data frame if the athlete has no award entries. Each ⁠$ref⁠ follows to a season-award object (e.g. Hart Trophy, Conn Smythe, etc.).

col_name types description
ref character ⁠$ref⁠ URL for the award object.
award_id character Award id parsed from the ⁠$ref⁠ URL.
athlete_id character ESPN athlete id (echoed from arg).
count integer Total award count.
page_count integer Total page count.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_awards(athlete_id = "3114"))

Get ESPN NHL Player Bio

Description

Get ESPN NHL Player Bio

Usage

espn_nhl_player_bio(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with athlete bio fields, or an empty data.frame() when ESPN returns HTTP 404. As of 2026-06-08, ESPN's site_v2 NHL athletes/{id}/bio endpoint returns 404; use espn_nhl_player_core() for athlete metadata in the meantime.

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
athlete_espn_id character ESPN athlete id from payload.
display_name character Player display name.
short_name character Player short name.
full_name character Player full name.
first_name character First name.
last_name character Last name.
jersey character Jersey number.
position character Position abbreviation.
age integer Current age.
date_of_birth character Date of birth (ISO 8601).
birth_city character Birth city.
birth_state character Birth state/province.
birth_country character Birth country.
weight character Formatted weight string.
height character Formatted height string.
team_id character ESPN team identifier.
team_display_name character Team display name.
team_abbreviation character Team abbreviation.
slug character Player URL slug.
debut_year integer Year of NHL debut.
active logical Whether athlete is currently active.
description character Biographical description, if available.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_bio(athlete_id = "5149125"))

Get ESPN NHL Player Box Score

Description

Get ESPN NHL Player Box Score

Usage

espn_nhl_player_box(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per player appearance. Skater and goalie rows are combined via dplyr::bind_rows; columns not applicable to a position group are NA. Key columns:

col_name types description
athlete_id character ESPN athlete identifier.
athlete_display_name character Athlete full display name.
athlete_short_name character Athlete short name.
athlete_last_name character Athlete last name.
athlete_jersey character Jersey number.
athlete_headshot_href character Headshot image URL.
athlete_position_name character Position name.
athlete_position_abbreviation character Position abbreviation.
athlete_active logical Whether the athlete was active.
athlete_scratched logical Whether the athlete was scratched.
stat_group character Stat group name ("forwards","defenses","goalies").
team_id character ESPN team identifier.
team_abbreviation character Team abbreviation.
team_display_name character Team display name.
home_away character "home" or "away".
team_score character Team final score.
team_winner logical Whether the team won.
opponent_team_id character Opponent team identifier.
opponent_team_abbreviation character Opponent team abbreviation.
game_id character ESPN event identifier (echoed from arg).
season integer Season end-year.
season_type integer Season type code.
game_date character Game date-time (ISO 8601).
bs character Blocked shots (skaters).
ht character Hits (skaters).
tk character Takeaways (skaters).
plus_minus integer Plus/minus rating (skaters).
toi character Time on ice (skaters, MM:SS).
pptoi character Power play time on ice (skaters, MM:SS).
shtoi character Short-handed time on ice (skaters, MM:SS).
estoi character Even-strength time on ice (skaters, MM:SS).
shft character Total shifts (skaters).
g character Goals (skaters).
ytdg character Year-to-date goals (skaters/goalies).
a character Assists (skaters).
s character Shots (skaters).
sm character Missed shots (skaters).
sog character Shots on goal (skaters).
fw character Faceoffs won (skaters).
fl character Faceoffs lost (skaters).
fo_percent character Faceoff percentage (skaters).
gv character Giveaways (skaters).
pn character Penalties taken (skaters).
pim character Penalty minutes (skaters/goalies).
ga character Goals against (goalies).
sa character Shots against (goalies).
sos character Shootout saves (goalies).
sosa character Shootout shots against (goalies).
sv character Saves (goalies).
sv_percent character Save percentage (goalies).
essv character Even-strength saves (goalies).
ppsv character Power play saves (goalies).
shsv character Short-handed saves (goalies).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_box(game_id = "401688263"))

Get ESPN NHL Player Career Stats (core-v2)

Description

Get ESPN NHL Player Career Stats (core-v2)

Usage

espn_nhl_player_career_stats(athlete_id, stat_type = NULL, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

stat_type

Optional integer stat-type path segment (default NULL, which uses the base ⁠/statistics⁠ path). ESPN redirects the base path to ⁠/statistics/0⁠ (All Splits). Pass 0 explicitly for identical behaviour.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with career aggregate statistics flattened wide across all stat categories. Columns vary by player type (skater vs goalie). Core columns include:

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
split_id character Split identifier (e.g. "0" = All Splits).
split_name character Split name (e.g. "All Splits").
split_type character Split type (e.g. "total").
split_abbr character Split abbreviation (e.g. "TOTAL").
offensive_goals numeric Career goals.
offensive_assists numeric Career assists.
offensive_points numeric Career points.
general_games numeric Career games played.
penalties_penalty_minutes numeric Career penalty minutes.
... numeric Additional stat columns per category.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_career_stats(athlete_id = "5149125"))

Get ESPN NHL Player Contracts (core-v2)

Description

Get ESPN NHL Player Contracts (core-v2)

Usage

espn_nhl_player_contracts(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per contract, or an empty data frame if no contract data is served. As of 2026-06-08, ESPN core-v2 returns count=0 for all queried NHL players (DONE_WITH_CONCERNS: endpoint exists but data is not populated).

col_name types description
ref character ⁠$ref⁠ URL for the contract object.
contract_id character Contract id parsed from the ⁠$ref⁠ URL.
athlete_id character ESPN athlete id (echoed from arg).
count integer Total contract count (0 in practice for NHL).
page_count integer Total page count.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_contracts(athlete_id = "4024820"))

Get ESPN NHL Player Core (core-v2)

Description

Get ESPN NHL Player Core (core-v2)

Usage

espn_nhl_player_core(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with athlete metadata:

col_name types description
athlete_id character ESPN athlete id (echoed from arg).
uid character Athlete uid string.
guid character Athlete global unique identifier.
type character Sport type (e.g. "hockey").
first_name character First name.
last_name character Last name.
full_name character Full display name.
display_name character Display name.
short_name character Short name (e.g. "P. Laine").
weight numeric Weight in pounds.
display_weight character Formatted weight string.
height numeric Height in inches.
display_height character Formatted height string.
age integer Current age.
date_of_birth character Date of birth (ISO 8601).
debut_year integer Year of NHL debut.
birth_city character Birth city.
birth_country character Birth country abbreviation.
slug character URL slug.
jersey character Jersey number.
hand character Handedness (e.g. "L" or "R").
active logical Whether athlete is currently active.
position_ref character ⁠$ref⁠ URL for the position object.
team_ref character ⁠$ref⁠ URL for the current team object.
statistics_ref character ⁠$ref⁠ URL for career statistics.
contracts_ref character ⁠$ref⁠ URL for contracts.
statisticslog_ref character ⁠$ref⁠ URL for the statistics log.
athlete_ref character ⁠$ref⁠ URL for this athlete object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_core(athlete_id = "4024820"))

Get ESPN NHL Player Event Log (core-v2)

Description

Get ESPN NHL Player Event Log (core-v2)

Usage

espn_nhl_player_eventlog(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per event (game) in the current season. Use statistics_ref to retrieve per-game statistics.

col_name types description
athlete_id character ESPN athlete id (echoed from arg).
event_id character ESPN event (game) id.
team_id character Team id the athlete played for in this event.
played logical Whether the athlete played in the event.
event_ref character ⁠$ref⁠ URL for the event object.
competition_ref character ⁠$ref⁠ URL for the competition object.
statistics_ref character ⁠$ref⁠ URL for per-game athlete statistics.
count integer Total event count for this athlete.
page_count integer Total page count for this endpoint.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_eventlog(athlete_id = "4024820"))

Get ESPN NHL Player Gamelog

Description

Get ESPN NHL Player Gamelog

Usage

espn_nhl_player_gamelog(athlete_id, season = NULL, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

season

Season end-year (e.g. 2025). When NULL ESPN returns the current season. Defaults to NULL.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game, or an empty data.frame() when no data is available (e.g. if the endpoint returns HTTP 404 in a future ESPN schema change). If the endpoint becomes unavailable, use espn_nhl_player_statisticslog() from the core-v2 host as a reliable substitute.

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
event_id character ESPN event identifier.
season_type_display character Season type label (e.g. "2025-26 Regular Season").
category_display character Stat category display name.
category_type character Stat category type.
category_split_type character Stat category split type.
game_date character Game date-time (ISO 8601).
at_vs character "at" or "vs" home/away indicator.
score character Final score string.
home_team_id character ESPN home team identifier.
away_team_id character ESPN away team identifier.
home_team_score character Home team final score.
away_team_score character Away team final score.
game_result character Game result for the player's team (W/L/OT).
opponent_id character ESPN opponent team identifier.
opponent_name character Opponent team display name.
opponent_abbr character Opponent team abbreviation.
team_id character Player's team ESPN identifier.
team_abbr character Player's team abbreviation.
league_name character League name.
league_abbreviation character League abbreviation.
goals character Goals scored.
assists character Assists.
points character Points (G+A).
plus_minus character Plus/minus.
penalty_minutes character Penalty minutes.
shots_total character Shots on goal.
shooting_pct character Shooting percentage.
power_play_goals character Power-play goals.
power_play_assists character Power-play assists.
short_handed_goals character Short-handed goals.
short_handed_assists character Short-handed assists.
game_winning_goals character Game-winning goals.
time_on_ice_per_game character Average time on ice.
production character Production metric.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_gamelog(athlete_id = "5149125"))

Get ESPN NHL Player Info

Description

Get ESPN NHL Player Info

Usage

espn_nhl_player_info(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with athlete metadata from the site_v2 athletes endpoint, or an empty data.frame() when ESPN returns HTTP 404. As of 2026-06-08, ESPN's site_v2 NHL athletes/{id} endpoint returns 404; use espn_nhl_player_core() for athlete metadata instead.

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
athlete_espn_id character ESPN athlete id from payload.
uid character Athlete uid string.
guid character Athlete global unique identifier.
display_name character Player display name.
short_name character Player short name.
full_name character Player full name.
first_name character First name.
last_name character Last name.
jersey character Jersey number.
slug character URL slug.
position character Position abbreviation.
position_name character Position full name.
age integer Current age.
date_of_birth character Date of birth (ISO 8601).
debut_year integer Year of NHL debut.
weight character Formatted weight string.
height character Formatted height string.
team_id character ESPN team identifier.
team_display_name character Team display name.
team_abbreviation character Team abbreviation.
headshot_href character Player headshot image URL.
active logical Whether athlete is currently active.
status character Athlete status description.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_info(athlete_id = "5149125"))

Get ESPN NHL Player Injuries (core-v2)

Description

Get ESPN NHL Player Injuries (core-v2)

Usage

espn_nhl_player_injuries(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

An empty data.frame(). As of 2026-06-08, ESPN core-v2 athletes/{{id}}/injuries returns HTTP 404 for all queried NHL players (DONE_WITH_CONCERNS: endpoint not served for NHL). Use espn_nhl_injuries() (site-v2) for league-level injury data.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_injuries(athlete_id = "4024820"))

Get ESPN NHL Player News

Description

Get ESPN NHL Player News

Usage

espn_nhl_player_news(athlete_id, limit = 50, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

limit

Maximum number of articles to return (default 50).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per news article, or an empty data.frame() when no articles are available:

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
article_id character Article identifier.
type character Article type (e.g. "HeadlineNews").
headline character Article headline.
description character Article description / lede.
published character Publication datetime (ISO 8601).
last_modified character Last-modified datetime (ISO 8601).
premium logical Whether article is premium/paywalled.
source character News source.
byline character Author byline.
article_url character Web URL for the full article.
image_url character Lead image URL.
category_league character League category label from article metadata.
category_team character Team category label from article metadata.
category_athlete character Athlete category label from article metadata.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_news(athlete_id = "5149125", limit = 10))

Get ESPN NHL Player Notes (core-v2)

Description

Get ESPN NHL Player Notes (core-v2)

Usage

espn_nhl_player_notes(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

An empty data.frame(). As of 2026-06-08, ESPN core-v2 athletes/{{id}}/notes returns HTTP 404 for all queried NHL players (DONE_WITH_CONCERNS: endpoint not served for NHL).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_notes(athlete_id = "4024820"))

Get ESPN NHL Player Overview

Description

Get ESPN NHL Player Overview

Usage

espn_nhl_player_overview(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per stats split (Regular Season / Career):

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
athlete_espn_id character ESPN athlete identifier (from payload).
athlete_display_name character Player display name.
athlete_short_name character Player short name.
athlete_jersey character Jersey number.
athlete_position character Position abbreviation.
athlete_team_id character ESPN team identifier.
athlete_team_abbreviation character Team abbreviation.
split_display_name character Split label (e.g. Regular Season, Career).
games character Games played.
goals character Goals.
assists character Assists.
points character Points.
plus_minus character Plus/minus.
penalty_minutes character Penalty minutes.
shots_total character Shots on goal.
power_play_goals character Power-play goals.
power_play_assists character Power-play assists.
short_handed_goals character Short-handed goals.
short_handed_assists character Short-handed assists.
game_winning_goals character Game-winning goals.
time_on_ice_per_game character Average time on ice per game.
production character Production metric.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_overview(athlete_id = "5149125"))

Get ESPN NHL Player Records (core-v2)

Description

Get ESPN NHL Player Records (core-v2)

Usage

espn_nhl_player_records(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per record, or an empty data frame if no records are served. As of 2026-06-08, ESPN core-v2 returns count=0 for all queried NHL players (DONE_WITH_CONCERNS: endpoint exists but data is not populated).

col_name types description
ref character ⁠$ref⁠ URL for the record object.
record_id character Record id parsed from the ⁠$ref⁠ URL.
athlete_id character ESPN athlete id (echoed from arg).
count integer Total record count (0 in practice for NHL).
page_count integer Total page count.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_records(athlete_id = "4024820"))

Get ESPN NHL Player Seasons (core-v2)

Description

Get ESPN NHL Player Seasons (core-v2)

Usage

espn_nhl_player_seasons(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

An empty data.frame(). As of 2026-06-08, ESPN core-v2 athletes/{{id}}/seasons returns HTTP 404 for all queried NHL players (DONE_WITH_CONCERNS: endpoint is not served for the NHL). For season-level data use espn_nhl_player_statisticslog().

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_seasons(athlete_id = "4024820"))

Get ESPN NHL Player Splits

Description

Get ESPN NHL Player Splits

Usage

espn_nhl_player_splits(athlete_id, season = most_recent_nhl_season(), ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per situational split:

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
season integer Season end-year (echoed from arg).
split_category character Split category name (e.g. split, location).
split_category_display character Split category display name.
split_display_name character Individual split label (e.g. All Splits).
split_abbreviation character Split abbreviation.
games character Games played.
goals character Goals.
assists character Assists.
points character Points.
plus_minus character Plus/minus.
penalty_minutes character Penalty minutes.
shots_total character Shots on goal.
faceoff_percent character Faceoff percentage.
power_play_goals character Power-play goals.
power_play_assists character Power-play assists.
short_handed_goals character Short-handed goals.
short_handed_assists character Short-handed assists.
game_winning_goals character Game-winning goals.
time_on_ice_per_game character Average time on ice per game.
production character Production metric.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_splits(athlete_id = "5149125", season = 2025))

Get ESPN NHL Player Statistics (core-v2)

Description

Get ESPN NHL Player Statistics (core-v2)

Usage

espn_nhl_player_statistics(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with career aggregate statistics. Columns vary by player type (skater vs goalie). Core columns include:

col_name types description
athlete_id character ESPN athlete id (echoed from arg).
split_id character Split identifier (e.g. "0" for all splits).
split_name character Split name (e.g. "All Splits").
split_type character Split type (e.g. "total").
split_abbr character Split abbreviation (e.g. "TOTAL").
goals numeric Career goals (skaters) or goals-against (goalies).
assists numeric Career assists (skaters).
points numeric Career points.
games_played numeric Career games played.
... numeric Additional stat columns flattened from all categories.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_statistics(athlete_id = "4024820"))

Get ESPN NHL Player Statistics Log (core-v2)

Description

Get ESPN NHL Player Statistics Log (core-v2)

Usage

espn_nhl_player_statisticslog(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per season-entry. This endpoint is the NHL game-log substitute (web-v3 gamelog 404s for NHL). Each row carries ⁠$ref⁠ URLs to follow for per-season totals and team splits.

col_name types description
athlete_id character ESPN athlete id (echoed from arg).
season integer Season year parsed from the season ⁠$ref⁠.
season_ref character ⁠$ref⁠ URL for the season object.
total_stats_ref character ⁠$ref⁠ URL for season totals statistics.
team_stats_ref character ⁠$ref⁠ URL for team-level statistics.
team_ref character ⁠$ref⁠ URL for the team object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_statisticslog(athlete_id = "4024820"))

Get ESPN NHL Player Stats (web-v3)

Description

Get ESPN NHL Player Stats (web-v3)

Usage

espn_nhl_player_stats_v3(athlete_id, season = most_recent_nhl_season(), ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric, e.g. "5149125"). Obtain via espn_nhl_team_roster().

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season(). When NULL the current season is used.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per season entry plus a career-total row per stat category:

col_name types description
athlete_id character ESPN athlete identifier (echoed from arg).
season integer Requested season year (echoed from arg).
season_year integer Season end-year for this row.
category character Stat category name (e.g. center).
category_display character Stat category display name.
position character Position for this season row.
team_id character ESPN team identifier.
team_slug character Team slug.
team_display_name character Team display name.
team_abbreviation character Team abbreviation.
games character Games played.
goals character Goals.
assists character Assists.
points character Points.
plus_minus character Plus/minus.
penalty_minutes character Penalty minutes.
shootout_goals character Shootout goals.
shooting_pct character Shooting percentage.
power_play_goals character Power-play goals.
power_play_assists character Power-play assists.
short_handed_goals character Short-handed goals.
short_handed_assists character Short-handed assists.
game_winning_goals character Game-winning goals.
time_on_ice_per_game character Average time on ice per game.
production character Production metric.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_stats_v3(athlete_id = "5149125", season = 2025))

Get ESPN NHL Player vs Player (core-v2)

Description

Get ESPN NHL Player vs Player (core-v2)

Usage

espn_nhl_player_vs_player(athlete_id, opponent_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

opponent_id

ESPN opponent athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

An empty data.frame(). As of 2026-06-08, ESPN core-v2 athletes/{id}/vsathlete/{opp_id} returns HTTP 404 for all queried NHL player pairs (DONE_WITH_CONCERNS: endpoint not served for NHL).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_player_vs_player(athlete_id = "4024820", opponent_id = "3114"))

Get ESPN NHL Players Index

Description

Returns a paginated index of NHL athletes from ESPN. This is a site_v2-named parity alias for espn_nhl_athletes_index(); both wrap the same core_v2 /athletes backing endpoint. Prefer espn_nhl_athletes_index() for the established function with the same interface.

Usage

espn_nhl_players_index(active = TRUE, limit = 100, page = 1, ...)

Arguments

active

Filter by active status. TRUE (default) = active players only; FALSE = inactive only; NULL = no filter.

limit

Number of athletes per page (default 100; max ~200).

page

Page number (default 1). Use the page_count column in the result to determine the total number of pages.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per athlete in the requested page:

col_name types description
ref character ⁠$ref⁠ URL for the athlete object.
athlete_id character ESPN athlete id parsed from the ⁠$ref⁠ URL.
active logical The active filter value echoed from arg.
page integer The page value echoed from arg.
count integer Total athlete count matching the filter.
page_count integer Total number of pages.

Author(s)

Saiem Gilani

See Also

espn_nhl_athletes_index() for the established alias.

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_players_index(active = TRUE, limit = 10, page = 1))

Get ESPN NHL Position (core-v2)

Description

Get ESPN NHL Position (core-v2)

Usage

espn_nhl_position(position_id, ...)

Arguments

position_id

ESPN position identifier (character or numeric). Use espn_nhl_positions() to discover valid position ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with position detail:

col_name types description
position_id character ESPN position id (echoed from arg).
id character ESPN position identifier from response.
name character Position name (e.g. "Center").
display_name character Position display name.
abbreviation character Position abbreviation (e.g. "C").
leaf logical Whether this is a leaf (non-parent) position.
parent_ref character ⁠$ref⁠ URL for the parent position (if any).
position_ref character ⁠$ref⁠ URL for this position object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    pos <- espn_nhl_positions()
    espn_nhl_position(position_id = pos$position_id[1])
  })

Get ESPN NHL Positions (core-v2)

Description

Get ESPN NHL Positions (core-v2)

Usage

espn_nhl_positions(limit = 100, ...)

Arguments

limit

Maximum number of positions to return (default 100). The NHL position catalog contains ~28 entries (positions + sub-positions).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per position reference:

col_name types description
ref character ⁠$ref⁠ URL for the position object.
position_id character ESPN position id parsed from the ⁠$ref⁠ URL.
count integer Total positions in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_positions())

Get ESPN NHL Providers (core-v2)

Description

Get ESPN NHL Providers (core-v2)

Usage

espn_nhl_providers(limit = 100, ...)

Arguments

limit

Maximum number of providers to return (default 100). The NHL provider catalog contains ~33 entries; 100 returns all in one request.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per odds provider reference:

col_name types description
ref character ⁠$ref⁠ URL for the provider object.
provider_id character ESPN provider id parsed from the ⁠$ref⁠ URL.
count integer Total providers in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_providers())

Get ESPN NHL Team Schedule

Description

Get ESPN NHL Team Schedule

Usage

espn_nhl_schedule(team_id, season = most_recent_nhl_season(), ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Pittsburgh Penguins).

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game:

col_name types description
game_id character ESPN event identifier.
date character Game date-time (ISO 8601).
name character Full game name.
short_name character Short game name.
season_year integer Season end year.
season_type integer Season type code.
time_valid logical Whether the game time is confirmed.
status_type_id character Status type identifier.
status_type_name character Status type name.
status_type_state character Status state (pre/in/post).
status_type_completed logical Whether the game is complete.
neutral_site logical Whether the game is at a neutral site.
attendance integer Game attendance.
venue_id character Venue identifier.
venue_full_name character Venue full name.
venue_city character Venue city.
venue_state character Venue state.
broadcast character Broadcast network(s).
home_id character Home team ESPN identifier.
home_name character Home team display name.
home_abbreviation character Home team abbreviation.
home_location character Home team city.
home_logo character Home team logo URL.
home_score character Home team score.
home_winner logical Whether the home team won.
away_id character Away team ESPN identifier.
away_name character Away team display name.
away_abbreviation character Away team abbreviation.
away_location character Away team city.
away_logo character Away team logo URL.
away_score character Away team score.
away_winner logical Whether the away team won.
team_id character ESPN team identifier (echoed from arg).
season integer Season end-year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_schedule(team_id = "4", season = 2025))

Get ESPN NHL Scoreboard

Description

Get ESPN NHL Scoreboard

Usage

espn_nhl_scoreboard(dates = NULL, ...)

Arguments

dates

Optional date or date-range string in "YYYYMMDD" or "YYYYMMDD-YYYYMMDD" format. When NULL (default) the current day is used.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game:

col_name types description
game_id character ESPN event identifier.
uid character ESPN event uid.
date character Game date-time (ISO 8601).
name character Full game name.
short_name character Short game name.
season_year integer Season end year.
season_type integer Season type code (1=pre, 2=regular, 3=post).
season_slug character Season type slug.
status_type_id character Status type identifier.
status_type_name character Status type name.
status_type_state character Status state (pre/in/post).
status_type_completed logical Whether the game is complete.
status_type_description character Status description.
status_type_detail character Status detail text.
status_type_short_detail character Short status detail.
status_clock numeric Game clock in seconds.
status_display_clock character Display clock string.
status_period integer Current period.
neutral_site logical Whether the game is at a neutral site.
conference_competition character Whether it is a conference competition.
attendance integer Game attendance.
venue_id character ESPN venue identifier.
venue_full_name character Venue full name.
venue_city character Venue city.
venue_state character Venue state.
venue_indoor logical Whether the venue is indoors.
broadcast character Broadcast network(s).
note character Game note or headline.
home_id character Home team ESPN identifier.
home_name character Home team name.
home_abbreviation character Home team abbreviation.
home_display_name character Home team display name.
home_location character Home team city/location.
home_color character Home team primary color hex.
home_alternate_color character Home team alternate color hex.
home_logo character Home team logo URL.
home_score character Home team score.
home_winner logical Whether the home team won.
home_rank integer Home team rank (if ranked).
away_id character Away team ESPN identifier.
away_name character Away team name.
away_abbreviation character Away team abbreviation.
away_display_name character Away team display name.
away_location character Away team city/location.
away_color character Away team primary color hex.
away_alternate_color character Away team alternate color hex.
away_logo character Away team logo URL.
away_score character Away team score.
away_winner logical Whether the away team won.
away_rank integer Away team rank (if ranked).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_scoreboard(dates = "20250110"))

Get ESPN NHL Season Athletes (core-v2)

Description

Get ESPN NHL Season Athletes (core-v2)

Usage

espn_nhl_season_athletes(
  season = most_recent_nhl_season(),
  limit = 100,
  page = 1,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

limit

Number of athletes per page (default 100). The NHL season athlete list exceeds 11,000 entries across ~2,300 pages; use page to iterate.

page

Page number (1-indexed, default 1). Check the returned page_count column to determine how many pages are available.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per athlete reference for the requested page:

col_name types description
ref character ⁠$ref⁠ URL for the athlete-in-season object.
athlete_id character ESPN athlete id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
page integer Page number (echoed from arg).
count integer Total athletes in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_athletes(season = 2026, limit = 10, page = 1))

Get ESPN NHL Season Awards (core-v2)

Description

Get ESPN NHL Season Awards (core-v2)

Usage

espn_nhl_season_awards(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per award reference, or an empty tibble when no awards are available for the season. Awards are typically populated after the regular season ends:

col_name types description
ref character ⁠$ref⁠ URL for the award object.
award_id character ESPN award id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
count integer Total awards in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_awards(season = 2025))

Get ESPN NHL Season Coaches (core-v2)

Description

Get ESPN NHL Season Coaches (core-v2)

Usage

espn_nhl_season_coaches(season = most_recent_nhl_season(), limit = 100, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

limit

Maximum number of coaches to return (default 100). The NHL typically lists ~30 head coaches per season.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per coach:

col_name types description
ref character ⁠$ref⁠ URL for the coach-in-season object.
coach_id character ESPN coach id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
count integer Total coaches in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_coaches(season = 2026))

Get ESPN NHL Season Draft (core-v2)

Description

Get ESPN NHL Season Draft (core-v2)

Usage

espn_nhl_season_draft(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with draft round references, or an empty tibble when the endpoint is unavailable (HTTP 404 is normal for NHL — the draft sub-tree is not served by this core-v2 path):

col_name types description
ref character ⁠$ref⁠ URL for the draft round object (if returned).
draft_id character Draft/round id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns an empty tibble for NHL (404 from ESPN)
  try(espn_nhl_season_draft(season = 2025))

Get ESPN NHL Season Draft Round Picks (core-v2)

Description

Get ESPN NHL Season Draft Round Picks (core-v2)

Usage

espn_nhl_season_draft_round_picks(
  season = most_recent_nhl_season(),
  round_num = 1,
  limit = 100,
  ...
)

Arguments

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

round_num

Draft round number (default 1). Used to build the path seasons/{season}/draft/rounds/{round_num}/picks.

limit

Maximum picks to return per page (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per draft pick, or an empty tibble when the endpoint is unavailable. The confirmed path is seasons/{season}/draft/rounds/{round_num}/picks; for NHL this returns HTTP 404 — the draft data is not served by the core-v2 sub-tree:

col_name types description
ref character ⁠$ref⁠ URL for the draft pick object.
pick_id character Pick id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
round_num integer Round number (echoed from arg).
count integer Total picks in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns an empty tibble for NHL (404 from ESPN)
  try(espn_nhl_season_draft_round_picks(season = 2025, round_num = 1))

Get ESPN NHL Season Free Agents (core-v2)

Description

Get ESPN NHL Season Free Agents (core-v2)

Usage

espn_nhl_season_freeagents(season = most_recent_nhl_season(), limit = 100, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

limit

Maximum number of free agents to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per free-agent athlete reference. Note: The NHL free-agents endpoint (seasons/{season}/freeagents) currently returns count=0 for all tested seasons — the endpoint exists but ESPN does not populate it for NHL. An empty tibble is returned gracefully in that case:

col_name types description
ref character ⁠$ref⁠ URL for the athlete-in-season object.
athlete_id character ESPN athlete id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
count integer Total free agents in the collection (typically 0).
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not populate this endpoint)
  try(espn_nhl_season_freeagents(season = 2026))

Get ESPN NHL Season Futures (core-v2)

Description

Get ESPN NHL Season Futures (core-v2)

Usage

espn_nhl_season_futures(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per futures market per betting provider. For a typical NHL season there are ~12 markets across 1-2 providers:

col_name types description
future_ref character ⁠$ref⁠ URL for the futures market object.
future_id character ESPN futures market identifier.
future_name character Futures market name (e.g. "NHL - Stanley Cup - Winner").
future_type character Futures market type (e.g. "winLeague").
future_display_name character Futures market display name.
provider_id character Betting provider identifier.
provider_name character Betting provider name (e.g. "ESPN BET").
provider_active logical Whether the provider is active.
provider_priority integer Provider display priority.
season integer Season year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_futures(season = 2026))

Get ESPN NHL Season Group (core-v2)

Description

Get ESPN NHL Season Group (core-v2)

Usage

espn_nhl_season_group(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season, 4=off-season. Defaults to 2.

group_id

ESPN group identifier (integer or character). Use espn_nhl_season_groups() to discover valid ids for a season/type.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with group metadata:

col_name types description
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
group_id integer Group id (echoed from arg).
id character ESPN group identifier.
uid character Group uid string.
name character Group name (e.g. "Eastern Conference").
abbreviation character Group abbreviation (e.g. "East").
slug character Group slug.
is_conference logical Whether this group is a conference (vs. division).
group_ref character ⁠$ref⁠ URL for this group object.
season_ref character ⁠$ref⁠ URL for the group's season.
parent_ref character ⁠$ref⁠ URL for the parent group (if any).
children_ref character ⁠$ref⁠ URL for child groups (divisions).
standings_ref character ⁠$ref⁠ URL for group standings.
teams_ref character ⁠$ref⁠ URL for the teams in this group.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_group(season = 2026, season_type = 2, group_id = 7))

Get ESPN NHL Season Group Children (core-v2)

Description

Get ESPN NHL Season Group Children (core-v2)

Usage

espn_nhl_season_group_children(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

group_id

ESPN group identifier (integer or character). Pass a conference-level group_id from espn_nhl_season_groups() to retrieve its child divisions.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per child group (division under a conference). Conference-level groups typically have 2 division children each:

col_name types description
ref character ⁠$ref⁠ URL for the child group object.
child_group_id character Child group id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
group_id integer Parent group id (echoed from arg).
count integer Total children in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    grps <- espn_nhl_season_groups(season = 2026, season_type = 2)
    espn_nhl_season_group_children(season = 2026, season_type = 2,
                                    group_id = grps$group_id[1])
  })

Get ESPN NHL Season Group Teams (core-v2)

Description

Get ESPN NHL Season Group Teams (core-v2)

Usage

espn_nhl_season_group_teams(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id,
  limit = 100,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season, 4=off-season. Defaults to 2.

group_id

ESPN group identifier (integer or character). Use espn_nhl_season_groups() to discover valid ids for a season/type.

limit

Maximum number of teams to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team:

col_name types description
ref character ⁠$ref⁠ URL for the team-season object.
team_id character ESPN team id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
group_id integer Group id (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    grps <- espn_nhl_season_groups(season = 2026, season_type = 2)
    espn_nhl_season_group_teams(season = 2026, season_type = 2,
                                 group_id = grps$group_id[1])
  })

Get ESPN NHL Season Groups (core-v2)

Description

Get ESPN NHL Season Groups (core-v2)

Usage

espn_nhl_season_groups(season = most_recent_nhl_season(), season_type = 2, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season, 4=off-season. Defaults to 2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per group (conference or division):

col_name types description
ref character ⁠$ref⁠ URL for the group object.
group_id integer Group id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_groups(season = 2026, season_type = 2))

Get ESPN NHL Season Info (core-v2)

Description

Get ESPN NHL Season Info (core-v2)

Usage

espn_nhl_season_info(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with season metadata:

col_name types description
season integer Season year (echoed from arg).
start_date character Season start date (ISO 8601).
end_date character Season end date (ISO 8601).
display_name character Season display name (e.g. "2025-26").
season_ref character ⁠$ref⁠ URL for this season.
types_ref character ⁠$ref⁠ URL for the season-types collection.
type_ref character ⁠$ref⁠ URL for the current season type.
rankings_ref character ⁠$ref⁠ URL for rankings.
coaches_ref character ⁠$ref⁠ URL for coaches.
athletes_ref character ⁠$ref⁠ URL for athletes.
awards_ref character ⁠$ref⁠ URL for awards.
futures_ref character ⁠$ref⁠ URL for futures.
leaders_ref character ⁠$ref⁠ URL for leaders.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_info(season = 2026))

Get ESPN NHL Season Players (core-v2)

Description

Get ESPN NHL Season Players (core-v2)

Usage

espn_nhl_season_players(
  season = most_recent_nhl_season(),
  limit = 100,
  page = 1,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

limit

Number of players per page (default 100). The NHL season player list exceeds 11,000 entries across ~2,300 pages; use page to iterate.

page

Page number (1-indexed, default 1). Check the returned page_count column to determine how many pages are available.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per player reference for the requested page. This function hits the same endpoint as espn_nhl_season_athletes() (seasons/{season}/athletes) but uses the player_id column name for consistency with the sdv-py espn_nhl_season_players naming convention:

col_name types description
ref character ⁠$ref⁠ URL for the athlete-in-season object.
player_id character ESPN player id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
page integer Page number (echoed from arg).
count integer Total players in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_players(season = 2026, limit = 10, page = 1))

Get ESPN NHL Current Season Pointer (core-v2)

Description

Get ESPN NHL Current Season Pointer (core-v2)

Usage

espn_nhl_season_pointer(...)

Arguments

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with the current season metadata:

col_name types description
season integer Current season year (e.g. 2026).
start_date character Season start date (ISO 8601).
end_date character Season end date (ISO 8601).
display_name character Season display name (e.g. "2025-26").
current_type_id character Current season-type identifier.
current_type integer Current season-type code (1=pre,2=reg,3=post).
current_type_name character Current season-type name.
current_type_slug character Current season-type slug.
season_ref character ⁠$ref⁠ URL for the full season object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_pointer())

Get ESPN NHL Season Power Index (core-v2)

Description

Get ESPN NHL Season Power Index (core-v2)

Usage

espn_nhl_season_powerindex(
  season = most_recent_nhl_season(),
  team_id = NULL,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

team_id

Optional ESPN team identifier (character or numeric). When provided, fetches power-index data for a single team. Defaults to NULL (collection for all teams).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per power-index entry, or an empty tibble when no data is available. Note: ESPN does not publish power-index data for NHL — this endpoint consistently returns empty results for hockey:

col_name types description
ref character ⁠$ref⁠ URL for the power-index object.
powerindex_id character Power-index id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
team_id character Team id (echoed from arg, if supplied).
count integer Total entries in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not publish powerindex for hockey)
  try(espn_nhl_season_powerindex(season = 2026))

Get ESPN NHL Season Power Index Leaders (core-v2)

Description

Get ESPN NHL Season Power Index Leaders (core-v2)

Usage

espn_nhl_season_powerindex_leaders(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per power-index leader, or an empty tibble when no data is available. Note: ESPN does not publish power-index data for NHL:

col_name types description
ref character ⁠$ref⁠ URL for the power-index leader object.
leader_id character Leader id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
count integer Total entries in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not publish powerindex for hockey)
  try(espn_nhl_season_powerindex_leaders(season = 2026))

Get ESPN NHL Season Team (core-v2)

Description

Get ESPN NHL Season Team (core-v2)

Usage

espn_nhl_season_team(season = most_recent_nhl_season(), team_id, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

team_id

ESPN team identifier (character or numeric). Use espn_nhl_season_teams() to discover valid team ids for a season.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with team-in-season metadata:

col_name types description
season integer Season year (echoed from arg).
team_id character ESPN team id (echoed from arg).
id character ESPN team identifier.
guid character Team global unique identifier.
uid character Team uid string.
slug character Team URL slug.
location character Team city/location.
name character Team mascot/name.
nickname character Team nickname.
abbreviation character Team abbreviation.
display_name character Team display name.
short_display_name character Team short display name.
color character Team primary color hex.
alternate_color character Team alternate color hex.
is_active logical Whether the team is currently active.
is_all_star logical Whether this is an all-star team.
team_ref character ⁠$ref⁠ URL for this team-in-season object.
record_ref character ⁠$ref⁠ URL for the team record.
athletes_ref character ⁠$ref⁠ URL for the team athletes.
venue_ref character ⁠$ref⁠ URL for the team venue.
groups_ref character ⁠$ref⁠ URL for the team groups.
statistics_ref character ⁠$ref⁠ URL for the team statistics.
leaders_ref character ⁠$ref⁠ URL for the team leaders.
injuries_ref character ⁠$ref⁠ URL for the team injuries.
awards_ref character ⁠$ref⁠ URL for the team awards.
franchise_ref character ⁠$ref⁠ URL for the team franchise.
events_ref character ⁠$ref⁠ URL for the team events.
transactions_ref character ⁠$ref⁠ URL for the team transactions.
coaches_ref character ⁠$ref⁠ URL for the team coaches.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try({
    tms <- espn_nhl_season_teams(season = 2026)
    espn_nhl_season_team(season = 2026, team_id = tms$team_id[1])
  })

Get ESPN NHL Season Teams (core-v2)

Description

Get ESPN NHL Season Teams (core-v2)

Usage

espn_nhl_season_teams(season = most_recent_nhl_season(), limit = 100, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

limit

Maximum number of teams to return per page (default 100). The NHL has 32 active teams; 100 returns all in one request.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team in the season:

col_name types description
ref character ⁠$ref⁠ URL for the team-in-season object.
team_id character ESPN team id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
count integer Total teams in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_teams(season = 2026))

Get ESPN NHL Season Type (core-v2)

Description

Get ESPN NHL Season Type (core-v2)

Usage

espn_nhl_season_type(season = most_recent_nhl_season(), season_type = 2, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season, 4=off-season. Defaults to 2.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with season-type metadata:

col_name types description
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
id character Season type identifier.
type integer Season type numeric code.
name character Season type name (e.g. "Regular Season").
abbreviation character Season type abbreviation (e.g. "reg").
slug character Season type slug (e.g. "regular-season").
year integer Season year from the API.
start_date character Season type start date (ISO 8601).
end_date character Season type end date (ISO 8601).
has_groups logical Whether this season type has groups.
has_standings logical Whether this season type has standings.
has_legs logical Whether this season type has legs.
groups_ref character ⁠$ref⁠ URL for the groups collection.
weeks_ref character ⁠$ref⁠ URL for the weeks collection.
corrections_ref character ⁠$ref⁠ URL for corrections.
leaders_ref character ⁠$ref⁠ URL for leaders.
type_ref character ⁠$ref⁠ URL for this season-type object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_type(season = 2026, season_type = 2))

Get ESPN NHL Season Type Corrections (core-v2)

Description

Get ESPN NHL Season Type Corrections (core-v2)

Usage

espn_nhl_season_type_corrections(
  season = most_recent_nhl_season(),
  season_type = 2,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per correction entry, or an empty tibble when no corrections are recorded. Note: ESPN does not publish score corrections for NHL — this endpoint returns empty for all tested seasons:

col_name types description
ref character ⁠$ref⁠ URL for the correction object.
correction_id character Correction id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
count integer Total corrections in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not publish corrections for hockey)
  try(espn_nhl_season_type_corrections(season = 2026, season_type = 2))

Get ESPN NHL Season Type Leaders (core-v2)

Description

Get ESPN NHL Season Type Leaders (core-v2)

Usage

espn_nhl_season_type_leaders(
  season = most_recent_nhl_season(),
  season_type = 2,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (category, leader) combination. For a typical NHL regular season there are 9 categories with 25 leaders each (225 rows):

col_name types description
category_name character Stat category name (e.g. "goals", "assists").
category_display_name character Category display name.
category_short_display_name character Category short display name.
category_abbreviation character Category abbreviation.
display_value character Leader stat display value.
value numeric Leader stat numeric value.
rel character Relation type (e.g. "athlete").
athlete_ref character ⁠$ref⁠ URL for the athlete.
team_ref character ⁠$ref⁠ URL for the athlete's team.
statistics_ref character ⁠$ref⁠ URL for the athlete's season statistics.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_type_leaders(season = 2026, season_type = 2))

Get ESPN NHL Season Types (core-v2)

Description

Get ESPN NHL Season Types (core-v2)

Usage

espn_nhl_season_types(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per season type (pre-season, regular, post-season, off-season):

col_name types description
ref character ⁠$ref⁠ URL for the season-type object.
season_type_id integer Season type id (1=pre, 2=reg, 3=post, 4=off).
season integer Season year (echoed from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_season_types(season = 2026))

Get ESPN NHL Season Week (core-v2)

Description

Get ESPN NHL Season Week (core-v2)

Usage

espn_nhl_season_week(
  season = most_recent_nhl_season(),
  season_type = 2,
  week,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

week

Week number (integer). Derive valid week numbers from espn_nhl_season_weeks().

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with week metadata, or an empty tibble when the endpoint is unavailable. Note: NHL does not use weeks in ESPN core-v2 — HTTP 404 is the expected response:

col_name types description
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
week integer Week number (echoed from arg).
number integer Week number as returned by the API.
start_date character Week start date (ISO 8601).
end_date character Week end date (ISO 8601).
text character Week display text.
week_ref character ⁠$ref⁠ URL for this week object.
events_ref character ⁠$ref⁠ URL for the events in this week.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not use weeks for hockey)
  try(espn_nhl_season_week(season = 2026, season_type = 2, week = 1))

Get ESPN NHL Season Week Games (core-v2)

Description

Get ESPN NHL Season Week Games (core-v2)

Usage

espn_nhl_season_week_games(
  season = most_recent_nhl_season(),
  season_type = 2,
  week,
  limit = 100,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

week

Week number (integer). Derive valid week numbers from espn_nhl_season_weeks().

limit

Maximum number of events to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game (event) in the week, or an empty tibble when the endpoint is unavailable. Note: NHL does not use weeks in ESPN core-v2 — HTTP 404 is expected:

col_name types description
ref character ⁠$ref⁠ URL for the event object.
event_id character ESPN event id parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
week integer Week number (echoed from arg).
count integer Total events in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not use weeks for hockey)
  try(espn_nhl_season_week_games(season = 2026, season_type = 2, week = 1))

Get ESPN NHL Season Weeks (core-v2)

Description

Get ESPN NHL Season Weeks (core-v2)

Usage

espn_nhl_season_weeks(season = most_recent_nhl_season(), season_type = 2, ...)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season, 3=post-season. Defaults to 2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per week, or an empty tibble when the endpoint returns no items. Note: The NHL does not use weekly scheduling in the ESPN core-v2 API — this endpoint consistently returns count=0 for NHL. An empty tibble is returned gracefully:

col_name types description
ref character ⁠$ref⁠ URL for the week object.
week integer Week number parsed from the ⁠$ref⁠ URL.
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
count integer Total weeks in the collection (0 for NHL).
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not populate weeks for hockey)
  try(espn_nhl_season_weeks(season = 2026, season_type = 2))

Get ESPN NHL Seasons List (core-v2)

Description

Get ESPN NHL Seasons List (core-v2)

Usage

espn_nhl_seasons(limit = 100, ...)

Arguments

limit

Maximum number of seasons to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per season:

col_name types description
ref character ⁠$ref⁠ URL for the season object.
season integer Season year parsed from the ⁠$ref⁠ URL.
count integer Total number of seasons in the collection.
page_count integer Total number of pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_seasons(limit = 10))

Get ESPN NHL Standings

Description

Get ESPN NHL Standings

Usage

espn_nhl_standings(season = most_recent_nhl_season(), ...)

Arguments

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team:

col_name types description
group_name character Group name (conference / division).
group_abbreviation character Group abbreviation.
team_id character ESPN team identifier.
team_name character Team name.
team_abbreviation character Team abbreviation.
team_display_name character Team display name.
team_location character Team location (city).
team_logo character Team logo URL.
season integer Season end-year (echoed from arg).
ot_losses numeric Overtime losses.
games_played numeric Games played.
losses numeric Regulation losses.
points numeric Points.
wins numeric Wins.
points_for numeric Goals/points scored.
points_against numeric Goals/points allowed.
playoff_seed numeric Current playoff seed.
streak numeric Current streak value.
overall numeric Overall record stat.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_standings(season = 2025))

Get ESPN NHL Standings (core-v2)

Description

Get ESPN NHL Standings (core-v2)

Usage

espn_nhl_standings_core(
  season = most_recent_nhl_season(),
  season_type = 2,
  group_id = 9,
  ...
)

Arguments

season

Season end-year (e.g. 2026). Defaults to most_recent_nhl_season().

season_type

Season type code: 1=pre-season, 2=regular season (default), 3=post-season.

group_id

Standings group identifier. Defaults to 9, which is the verified all-teams rollup group for NHL on core-v2.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team per standings group. Key columns:

col_name types description
group_id_v character Standings group identifier.
group_name character Group name (e.g. "overall").
group_display_name character Group display name.
team_id character ESPN team identifier (parsed from ⁠$ref⁠).
team_ref character ⁠$ref⁠ URL for the team-in-season.
record_type character Record type used (always "total").
record_summary character Record summary string (e.g. "53-22-7").
season integer Season year (echoed from arg).
season_type integer Season type code (echoed from arg).
ot_losses numeric Overtime losses (and other stat columns dynamically).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_standings_core(season = 2026, season_type = 2))

Get ESPN NHL League Statistics

Description

Get ESPN NHL League Statistics

Usage

espn_nhl_statistics_league(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (stat category, leader). The ESPN NHL statistics endpoint returns a sparse set of top-of-league stat leaders organized by category. If the endpoint returns no categories, an empty tibble is returned gracefully:

col_name types description
category_name character Stat category name (e.g. "goals", "assists").
category_abbreviation character Category abbreviation.
display_value character Leader stat display value.
value numeric Leader stat numeric value.
athlete_id character ESPN athlete identifier.
athlete_display_name character Athlete display name.
team_id character ESPN team identifier.
team_abbreviation character Team abbreviation.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_statistics_league())

Get ESPN NHL Raw Game Summary

Description

Get ESPN NHL Raw Game Summary

Usage

espn_nhl_summary(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A nested R list representing the full parsed ESPN summary JSON. This function does NOT return a tibble. It is intended for power users who need fields not exposed by espn_nhl_pbp(), espn_nhl_team_box(), or espn_nhl_player_box().

Top-level keys typically include: boxscore, format, gameInfo, leaders, seasonseries, broadcasts, pickcenter, odds, plays, header, standings, and others.

  • ⁠$boxscore$teams⁠ — list of 2 team stat objects.

  • ⁠$boxscore$players⁠ — list of 2 player stat group objects.

  • ⁠$plays⁠ — list of play objects.

  • ⁠$header$season⁠ — season year and type.

  • ⁠$header$competitions[[1]]$competitors⁠ — home/away team + score.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

s <- try(espn_nhl_summary(game_id = "401688263"))
  if (!inherits(s, "try-error")) {
    names(s)
    length(s$plays)
  }

Get ESPN NHL Talent Picks (core-v2)

Description

Get ESPN NHL Talent Picks (core-v2)

Usage

espn_nhl_talentpicks(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per talent pick reference, or an empty tibble when the endpoint is unavailable. Note: The NHL talent picks endpoint (core_v2/talentpicks) currently returns count=0 — an empty tibble is returned gracefully:

col_name types description
ref character ⁠$ref⁠ URL for the talent pick object.
pick_id character ESPN pick id parsed from the ⁠$ref⁠ URL.
count integer Total talent picks in the collection (typically 0).
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

# NOTE: Returns empty tibble for NHL (ESPN does not populate this endpoint)
  try(espn_nhl_talentpicks())

Get ESPN NHL Team Detail

Description

Get ESPN NHL Team Detail

Usage

espn_nhl_team(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team:

col_name types description
team_id character ESPN team identifier (echoed from arg).
id character ESPN team identifier.
uid character ESPN team uid.
slug character URL slug.
location character Team city/location.
name character Team mascot name.
nickname character Team nickname.
abbreviation character Team abbreviation.
display_name character Full display name.
short_display_name character Short display name.
color character Primary color hex.
alternate_color character Alternate color hex.
is_active logical Whether the team is active.
logo character Primary logo URL.
logo_dark character Dark logo URL.
stand_summary character Standing summary string.
franchise_ref character Franchise resource ref URL.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team(team_id = "4"))

Get ESPN NHL Team Box Score

Description

Get ESPN NHL Team Box Score

Usage

espn_nhl_team_box(game_id, ...)

Arguments

game_id

ESPN event identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team (2 rows):

col_name types description
team_id character ESPN team identifier.
team_uid character ESPN team uid.
team_slug character Team URL slug.
team_location character Team city/location.
team_name character Team name (mascot).
team_abbreviation character Team abbreviation.
team_display_name character Team display name.
team_short_display_name character Team short display name.
team_color character Team primary color hex.
team_alternate_color character Team alternate color hex.
team_logo character Team logo URL.
home_away character "home" or "away".
game_id character ESPN event identifier (echoed from arg).
season integer Season end-year.
season_type integer Season type code.
game_date character Game date-time (ISO 8601).
blocked_shots character Total blocked shots.
hits character Total hits.
takeaways character Total takeaways.
shots_total character Total shots on goal.
power_play_goals character Power play goals.
power_play_opportunities character Power play opportunities.
power_play_pct character Power play percentage.
short_handed_goals character Short-handed goals.
shootout_goals character Shootout goals.
faceoffs_won character Faceoffs won.
faceoff_percent character Faceoff win percentage.
giveaways character Giveaways.
penalties character Penalty count.
penalty_minutes character Penalty minutes.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_box(game_id = "401688263"))

Get ESPN NHL Team Core (core-v2)

Description

Get ESPN NHL Team Core (core-v2)

Usage

espn_nhl_team_core(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row containing enriched team metadata from the core-v2 endpoint, including ⁠$ref⁠ links to sub-resources:

col_name types description
team_id character ESPN team identifier (echoed from arg).
id character ESPN team identifier.
guid character Team global unique identifier.
uid character Team uid.
alternate_id_sdr character SDR alternate identifier.
slug character URL slug.
location character Team city/location.
name character Team mascot name.
nickname character Team nickname.
abbreviation character Team abbreviation.
display_name character Full display name.
short_display_name character Short display name.
color character Primary color hex.
alternate_color character Alternate color hex.
is_active logical Whether the team is active.
is_all_star logical Whether the team is an all-star team.
logo character Primary logo URL.
record_ref character Ref URL for team record resource.
athletes_ref character Ref URL for team athletes resource.
venue_ref character Ref URL for team venue resource.
groups_ref character Ref URL for team groups resource.
statistics_ref character Ref URL for team statistics resource.
leaders_ref character Ref URL for team leaders resource.
injuries_ref character Ref URL for team injuries resource.
awards_ref character Ref URL for team awards resource.
franchise_ref character Ref URL for franchise resource.
events_ref character Ref URL for team events resource.
transactions_ref character Ref URL for team transactions resource.
coaches_ref character Ref URL for team coaches resource.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_core(team_id = "4"))

Get ESPN NHL Team Depth Charts

Description

Get ESPN NHL Team Depth Charts

Usage

espn_nhl_team_depthcharts(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row containing team and season metadata. NHL depth-slot player assignments are not served at this endpoint; the response contains team/season context only:

col_name types description
team_id character ESPN team identifier (echoed from arg).
timestamp character Response timestamp (ISO 8601).
status character Response status string.
season_year integer Season year.
season_type integer Season type code.
season_name character Season type name.
team_espn_id character ESPN team identifier.
abbreviation character Team abbreviation.
location character Team city/location.
name character Team mascot name.
display_name character Full display name.
color character Primary color hex.
logo character Team logo URL.
record_summary character Record summary string.
season_summary character Season summary string.
standing_summary character Standing summary string.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_depthcharts(team_id = "4"))

Get ESPN NHL Team History

Description

Get ESPN NHL Team History

Usage

espn_nhl_team_history(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per season entry when data is available. The ⁠/history⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, season, wins, losses, ties, ot_losses, points, summary, and description.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_history(team_id = "4"))

Get ESPN NHL Team Injuries

Description

Get ESPN NHL Team Injuries

Usage

espn_nhl_team_injuries(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per injury entry when data is available. The ⁠/injuries⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, athlete_id, athlete_display_name, athlete_position, injury_type, injury_status, injury_date, and injury_description.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_injuries(team_id = "4"))

Get ESPN NHL Team Leaders

Description

Get ESPN NHL Team Leaders

Usage

espn_nhl_team_leaders(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per (category, leader) combination when data is available. The ⁠/leaders⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, category_name, category_abbr, rank, value, display_value, athlete_id, and athlete_full_name.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_leaders(team_id = "4"))

Get ESPN NHL Team News

Description

Get ESPN NHL Team News

Usage

espn_nhl_team_news(team_id, limit = 50, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

limit

Maximum number of articles to return. Default 50.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per news article when data is available. The ⁠/news⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, id, headline, description, type, published, last_modified, premium, and url.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_news(team_id = "4", limit = 10))

Get ESPN NHL Team Record

Description

Get ESPN NHL Team Record

Usage

espn_nhl_team_record(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per record type (overall/home/away) when data is available. The ⁠/record⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, description, type, summary, and one numeric column per stat.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_record(team_id = "4"))

Get ESPN NHL Team Roster

Description

Get ESPN NHL Team Roster

Usage

espn_nhl_team_roster(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Pittsburgh Penguins).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per player:

col_name types description
position_group character Position group name (e.g. Centers).
id character ESPN player identifier.
uid character ESPN player uid.
guid character Player global unique identifier.
alternate_id character Alternate player identifier.
alternate_ids_sdr character Alternate ids sdr.
first_name character First name.
last_name character Last name.
full_name character Full name.
display_name character Display name.
short_name character Short name.
weight numeric Weight (lbs).
display_weight character Display weight string.
height numeric Height (inches).
display_height character Display height string.
age integer Player age.
date_of_birth character Date of birth.
slug character URL slug.
jersey character Jersey number.
headshot_href character Headshot image URL.
headshot_alt character Headshot alt text.
hand_type character Shooting/catching hand type.
hand_abbreviation character Hand abbreviation.
hand_display_value character Hand display value.
position_id character Position identifier.
position_name character Position name.
position_display_name character Position display name.
position_abbreviation character Position abbreviation.
position_leaf logical Whether position is a leaf node.
position_parent_id character Parent position identifier.
position_parent_name character Parent position name.
position_parent_display_name character Parent position display name.
position_parent_abbreviation character Parent position abbreviation.
position_parent_leaf logical Whether parent position is leaf.
experience_years integer Experience years.
debut_year numeric Debut year.
status_id character Status identifier.
status_name character Status name.
status_type character Status type.
status_abbreviation character Status abbreviation.
birth_place_city character Birth place city.
birth_place_state character Birth place state.
birth_place_country character Birth place country.
birth_place_display_text character Birth place display text.
birth_country_abbreviation character Birth country abbreviation.
college_id character College identifier.
college_guid character College guid.
college_mascot character College mascot.
college_name character College name.
college_short_name character College short name.
college_abbrev character College abbreviation.
college_logos character College logo URLs (pipe-delimited).
team_id character ESPN team identifier (from arg).

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_roster(team_id = "4"))

Get ESPN NHL Team Schedule (site_v2) – alias for espn_nhl_schedule()

Description

Get ESPN NHL Team Schedule (site_v2) – alias for espn_nhl_schedule()

Usage

espn_nhl_team_schedule(team_id, season = most_recent_nhl_season(), ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Pittsburgh Penguins).

season

Season end-year (e.g. 2025). Defaults to most_recent_nhl_season().

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per game. Identical to espn_nhl_schedule().

col_name types description
game_id character ESPN event identifier.
date character Game date-time (ISO 8601).
name character Full game name.
short_name character Short game name.
season_year integer Season end year.
season_type integer Season type code.
time_valid logical Whether the game time is confirmed.
status_type_id character Status type identifier.
status_type_name character Status type name.
status_type_state character Status state (pre/in/post).
status_type_completed logical Whether the game is complete.
neutral_site logical Whether the game is at a neutral site.
attendance integer Game attendance.
venue_id character Venue identifier.
venue_full_name character Venue full name.
venue_city character Venue city.
venue_state character Venue state.
broadcast character Broadcast network(s).
home_id character Home team ESPN identifier.
home_name character Home team display name.
home_abbreviation character Home team abbreviation.
home_location character Home team city.
home_logo character Home team logo URL.
home_score character Home team score.
home_winner logical Whether the home team won.
away_id character Away team ESPN identifier.
away_name character Away team display name.
away_abbreviation character Away team abbreviation.
away_location character Away team city.
away_logo character Away team logo URL.
away_score character Away team score.
away_winner logical Whether the away team won.
team_id character ESPN team identifier (echoed from arg).
season integer Season end-year (echoed from arg).

Author(s)

Saiem Gilani

See Also

espn_nhl_schedule() which this function wraps.

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_schedule(team_id = "4", season = 2025))

Get ESPN NHL Team Transactions

Description

Get ESPN NHL Team Transactions

Usage

espn_nhl_team_transactions(team_id, ...)

Arguments

team_id

ESPN team identifier (character or numeric, e.g. "4" for Chicago Blackhawks).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per transaction when data is available. The ⁠/transactions⁠ endpoint currently returns an empty response for NHL; an empty tibble is returned with a cli warning. Columns when populated include team_id, id, date, description, and type.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_team_transactions(team_id = "4"))

Get ESPN NHL team names and IDs

Description

Get ESPN NHL team names and IDs

Usage

espn_nhl_teams(...)

Arguments

...

Additional arguments passed through to the underlying request (e.g. ⁠proxy =⁠).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
abbreviation character Team abbreviation.
alternate_color character Team alternate color hex code.
color character Team primary color hex code.
display_name character Full team display name.
espn_team_id integer ESPN team identifier.
team character Team location name.
logo character URL to the team logo.
logo_dark character URL to the dark-variant team logo.
logos_href_3 character URL to an additional team logo variant.
logos_href_4 character URL to an additional team logo variant.
logos_href_5 character URL to an additional team logo variant.
logos_href_6 character URL to an additional team logo variant.
logos_href_7 character URL to an additional team logo variant.
logos_href_8 character URL to an additional team logo variant.
logos_href_9 character URL to an additional team logo variant.
logos_href_10 character URL to an additional team logo variant.
logos_href_11 character URL to an additional team logo variant.
logos_href_12 character URL to an additional team logo variant.
logos_href_13 character URL to an additional team logo variant.
logos_href_14 character URL to an additional team logo variant.
logos_href_15 character URL to an additional team logo variant.
logos_href_16 character URL to an additional team logo variant.
mascot character Team mascot name.
nickname character Team nickname.
short_name character Short team display name.

Author(s)

Saiem Gilani

Examples

try(espn_nhl_teams())

Get ESPN NHL Teams Core (core-v2 Collection)

Description

Get ESPN NHL Teams Core (core-v2 Collection)

Usage

espn_nhl_teams_core(limit = 100, ...)

Arguments

limit

Maximum number of teams to return (default 100; the NHL has 32 active teams so the default returns all).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per team:

col_name types description
ref character Core-v2 ⁠$ref⁠ URL for the team resource.
team_id character Team identifier (trailing path segment of ref URL).
count integer Total number of teams in the collection.
page_count integer Number of pages in the paginated response.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_teams_core(limit = 100))

Get ESPN NHL Teams (site_v2) – alias for espn_nhl_teams()

Description

Get ESPN NHL Teams (site_v2) – alias for espn_nhl_teams()

Usage

espn_nhl_teams_site(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per NHL team. This is identical to the output of espn_nhl_teams().

col_name types description
espn_team_id character ESPN team identifier.
team character Team location/city name.
mascot character Team mascot/nickname.
display_name character Team display name.
short_name character Short team display name.
abbreviation character Team abbreviation.
color character Primary color hex.
alternate_color character Alternate color hex.
logo character Light-background logo URL.
logo_dark character Dark-background logo URL.

Author(s)

Saiem Gilani

See Also

espn_nhl_teams() which this function wraps.

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_teams_site())

Get ESPN NHL Tournaments (core-v2)

Description

Get ESPN NHL Tournaments (core-v2)

Usage

espn_nhl_tournaments(limit = 100, ...)

Arguments

limit

Maximum number of tournaments to return (default 100).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per tournament reference. The NHL tournaments endpoint is sparsely populated (typically 1 entry):

col_name types description
ref character ⁠$ref⁠ URL for the tournament object.
tournament_id character ESPN tournament id parsed from the ⁠$ref⁠ URL.
count integer Total tournaments in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_transactions(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_tournaments())

Get ESPN NHL Transactions

Description

Get ESPN NHL Transactions

Usage

espn_nhl_transactions(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per transaction:

col_name types description
date character Transaction date (ISO 8601).
description character Transaction description.
team_id character ESPN team identifier.
team_location character Team city/location.
team_name character Team mascot/name.
team_abbreviation character Team abbreviation.
team_display_name character Team display name.
team_color character Team primary color hex.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_venue(), espn_nhl_venues()

Examples

try(espn_nhl_transactions())

Get ESPN NHL Venue (core-v2)

Description

Get ESPN NHL Venue (core-v2)

Usage

espn_nhl_venue(venue_id, ...)

Arguments

venue_id

ESPN venue identifier (character or numeric). Use espn_nhl_venues() to discover valid venue ids.

...

Reserved for forward compatibility.

Value

A one-row fastRhockey_data tibble with venue detail:

col_name types description
venue_id character ESPN venue id (echoed from arg).
id character ESPN venue identifier from response.
guid character Venue global unique identifier (if present).
full_name character Venue full name.
city character Venue city.
state character Venue state/province abbreviation.
country character Venue country.
grass logical Whether the surface is grass.
indoor logical Whether the venue is indoors.
capacity integer Seating capacity (if returned; often NA for NHL).
venue_ref character ⁠$ref⁠ URL for this venue object.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venues()

Examples

try({
    vns <- espn_nhl_venues()
    espn_nhl_venue(venue_id = vns$venue_id[1])
  })

Get ESPN NHL Venues (core-v2)

Description

Get ESPN NHL Venues (core-v2)

Usage

espn_nhl_venues(limit = 200, ...)

Arguments

limit

Maximum number of venues to return (default 200). The NHL venue catalog contains ~180 entries; 200 returns all in one request.

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per venue reference:

col_name types description
ref character ⁠$ref⁠ URL for the venue object.
venue_id character ESPN venue id parsed from the ⁠$ref⁠ URL.
count integer Total venues in the collection.
page_count integer Total pages in the collection.

Author(s)

Saiem Gilani

See Also

Other ESPN NHL Functions: espn_nhl_athletes_index(), espn_nhl_award(), espn_nhl_awards(), espn_nhl_calendar(), espn_nhl_calendar_offseason(), espn_nhl_calendar_ondays(), espn_nhl_calendar_postseason(), espn_nhl_calendar_regular_season(), espn_nhl_coach(), espn_nhl_coach_record(), espn_nhl_coach_season(), espn_nhl_coaches(), espn_nhl_conferences(), espn_nhl_countries(), espn_nhl_draft(), espn_nhl_franchise(), espn_nhl_franchises(), espn_nhl_game(), espn_nhl_game_all(), espn_nhl_game_broadcasts(), espn_nhl_game_competition(), espn_nhl_game_leaders(), espn_nhl_game_odds(), espn_nhl_game_official_detail(), espn_nhl_game_officials(), espn_nhl_game_play(), espn_nhl_game_play_personnel(), espn_nhl_game_plays(), espn_nhl_game_powerindex(), espn_nhl_game_predictor(), espn_nhl_game_probabilities(), espn_nhl_game_propbets(), espn_nhl_game_scoringplays(), espn_nhl_game_situation(), espn_nhl_game_status(), espn_nhl_game_team(), espn_nhl_game_team_leaders(), espn_nhl_game_team_linescores(), espn_nhl_game_team_record(), espn_nhl_game_team_roster(), espn_nhl_game_team_statistics(), espn_nhl_game_teams(), espn_nhl_games(), espn_nhl_injuries(), espn_nhl_leaders(), espn_nhl_leaders_core(), espn_nhl_league_notes(), espn_nhl_league_root(), espn_nhl_news(), espn_nhl_pbp(), espn_nhl_player_awards(), espn_nhl_player_bio(), espn_nhl_player_box(), espn_nhl_player_career_stats(), espn_nhl_player_contracts(), espn_nhl_player_core(), espn_nhl_player_eventlog(), espn_nhl_player_gamelog(), espn_nhl_player_info(), espn_nhl_player_injuries(), espn_nhl_player_news(), espn_nhl_player_notes(), espn_nhl_player_overview(), espn_nhl_player_records(), espn_nhl_player_seasons(), espn_nhl_player_splits(), espn_nhl_player_statistics(), espn_nhl_player_statisticslog(), espn_nhl_player_stats_v3(), espn_nhl_player_vs_player(), espn_nhl_players_index(), espn_nhl_position(), espn_nhl_positions(), espn_nhl_providers(), espn_nhl_schedule(), espn_nhl_scoreboard(), espn_nhl_season_athletes(), espn_nhl_season_awards(), espn_nhl_season_coaches(), espn_nhl_season_draft(), espn_nhl_season_draft_round_picks(), espn_nhl_season_freeagents(), espn_nhl_season_futures(), espn_nhl_season_group(), espn_nhl_season_group_children(), espn_nhl_season_group_teams(), espn_nhl_season_groups(), espn_nhl_season_info(), espn_nhl_season_players(), espn_nhl_season_pointer(), espn_nhl_season_powerindex(), espn_nhl_season_powerindex_leaders(), espn_nhl_season_team(), espn_nhl_season_teams(), espn_nhl_season_type(), espn_nhl_season_type_corrections(), espn_nhl_season_type_leaders(), espn_nhl_season_types(), espn_nhl_season_week(), espn_nhl_season_week_games(), espn_nhl_season_weeks(), espn_nhl_seasons(), espn_nhl_standings(), espn_nhl_standings_core(), espn_nhl_statistics_league(), espn_nhl_summary(), espn_nhl_talentpicks(), espn_nhl_team(), espn_nhl_team_box(), espn_nhl_team_core(), espn_nhl_team_depthcharts(), espn_nhl_team_history(), espn_nhl_team_injuries(), espn_nhl_team_leaders(), espn_nhl_team_news(), espn_nhl_team_record(), espn_nhl_team_roster(), espn_nhl_team_schedule(), espn_nhl_team_transactions(), espn_nhl_teams_core(), espn_nhl_teams_site(), espn_nhl_tournaments(), espn_nhl_transactions(), espn_nhl_venue()

Examples

try(espn_nhl_venues())

Calculate expected goals (xG) for play-by-play data

Description

Adds an xg column to a play-by-play data frame using the fastRhockey xG models (XGBoost).

The models were trained on NHL PBP data from 2010-2024 using the same methodology as the hockeyR xG models. Three models are used:

  • 5v5 model — Even-strength situations

  • Special teams model — Power play, short-handed, and other non-5v5 situations (adds skater count features)

  • Penalty shot model — A constant xG value for penalty shot attempts

Models are loaded into the package namespace on package load via .onLoad() (see zzz.R).

Usage

helper_nhl_calculate_xg(pbp)

Arguments

pbp

A play-by-play data frame produced by nhl_game_pbp or nhl_game_feed. Must contain columns needed by helper_nhl_prepare_xg_data(): event_type, secondary_type, period_type, period, game_seconds, x, y, x_fixed, event_team_abbr, home_abbr, away_abbr, home_skaters, away_skaters, shot_distance, shot_angle, empty_net, strength_state, event_id, season.

Value

The original pbp data frame with an xg column appended. xg is NA for non-shot events.

Examples

## Not run: 
  pbp <- nhl_game_pbp(2024020001, include_shifts = TRUE)
  pbp <- helper_nhl_calculate_xg(pbp)
  # View xG for shots
  pbp[!is.na(pbp$xg), c("event_type", "shot_distance", "shot_angle", "xg")]

## End(Not run)

Load fastRhockey NHL game info

Description

Helper that loads multiple seasons of NHL game-level metadata (venue, attendance, officials, etc.) from the sportsdataverse-data releases.

Usage

load_nhl_game_info(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per game and the following columns:

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_type character Game type the row belongs to (regular/playoffs).
game_date character Game date.
venue character Venue where the game was played.
home_team_abbr character Home team abbreviation.
away_team_abbr character Away team abbreviation.
home_score integer Home team final score.
away_score integer Away team final score.
game_state character Game status (e.g. FINAL/FUT).

Examples

try(load_nhl_game_info(2026))

Load fastRhockey NHL per-game rosters

Description

Helper that loads multiple seasons of NHL per-game roster data (one row per player per game) from the sportsdataverse-data releases.

Usage

load_nhl_game_rosters(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per player per game and the following columns:

col_name types description
player_id integer Unique player identifier.
full_name character Player full name.
first_name character Player first name.
last_name character Player last name.
team_abbr character Team abbreviation/code.
team_id integer Unique team identifier.
position_code character Player position code.
sweater_number integer Jersey number.

Examples

try(load_nhl_game_rosters(2026))

Load fastRhockey NHL goalie box scores

Description

Helper that loads multiple seasons of pre-scraped NHL goalie box scores from the sportsdataverse-data releases.

Usage

load_nhl_goalie_box(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation/code.
player_id integer Unique player identifier.
player_name character Player name.
sweater_number integer Jersey number.
even_strength_shots_against character Even-strength shots against.
power_play_shots_against character Power play shots against.
shorthanded_shots_against character Shorthanded shots against.
save_shots_against character Saves / shots against.
save_pctg numeric Save percentage.
even_strength_goals_against integer Even-strength goals against.
power_play_goals_against integer Power play goals against.
shorthanded_goals_against integer Shorthanded goals against.
pim integer Penalty minutes.
goals_against integer Goals against.
toi character Time on ice.
starter logical Whether the goalie started the game.
decision character Goalie decision (W/L/O).
shots_against integer Shots faced.
saves integer Saves made.

Examples

try(load_nhl_goalie_box(2022))

Load NHL goalie box scores (alias)

Description

Alias of load_nhl_goalie_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_goalie_boxscores(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_goalie_box().

See Also

load_nhl_goalie_box()

Other NHL Loader Functions: load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_goalie_boxscores(2022))

Load fastRhockey NHL linescore

Description

Helper that loads multiple seasons of NHL linescore data (per-game home/away goals, shots, shootout flag) from the sportsdataverse-data releases.

Usage

load_nhl_linescore(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per game and the following columns:

col_name types description
game_id integer Unique game identifier.
home_team_id integer Unique home team identifier.
home_team_abbr character Home team abbreviation.
home_goals integer Home team goals.
home_shots integer Home team shots on goal.
away_team_id integer Unique away team identifier.
away_team_abbr character Away team abbreviation.
away_goals integer Away team goals.
away_shots integer Away team shots on goal.
has_shootout logical Whether the game ended in a shootout.

Examples

try(load_nhl_linescore(2026))

Load fastRhockey NHL officials

Description

Helper that loads multiple seasons of NHL on-ice officials (referees + linesmen) from the sportsdataverse-data releases. One row per official per game.

Usage

load_nhl_officials(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per official per game and the following columns:

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_date character Game date.
role character Official role (referee or linesman).
name character Full name of the official.

Examples

try(load_nhl_officials(2026))

Load fastRhockey NHL play-by-play

Description

Helper that loads multiple seasons of pre-scraped NHL play-by-play data (full version, including line changes and shifts) from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_nhl_pbp(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_nhl_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the play by play data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
event_type character Standardized event type code.
event character Event description label.
secondary_type character Secondary event type (e.g. shot type).
event_team_abbr character Abbreviation of the team credited with the event.
event_team_type character Whether the event team is home or away.
description character Full text description of the event.
period integer Period number.
period_type character Period type (REGULAR/OVERTIME/SHOOTOUT).
period_time character Elapsed time in the period (MM:SS).
period_seconds integer Elapsed seconds in the period.
period_seconds_remaining integer Seconds remaining in the period.
period_time_remaining character Time remaining in the period (MM:SS).
game_seconds integer Elapsed seconds in the game.
game_seconds_remaining integer Seconds remaining in regulation.
home_score integer Home team score after the event.
away_score integer Away team score after the event.
event_player_1_name character Name of the primary event player.
event_player_1_type character Role of the primary event player.
event_player_1_id integer Player id of the primary event player.
event_player_2_name character Name of the secondary event player.
event_player_2_type character Role of the secondary event player.
event_player_2_id integer Player id of the secondary event player.
event_player_3_name character Name of the tertiary event player.
event_player_3_type character Role of the tertiary event player.
event_player_3_id integer Player id of the tertiary event player.
event_goalie_name character Name of the goalie on the event.
event_goalie_id integer Player id of the goalie on the event.
penalty_severity character Severity of the penalty.
penalty_minutes integer Penalty minutes assessed.
strength_state character Strength state (e.g. 5v5, 5v4).
strength_code character Coded strength state.
strength character Strength description.
empty_net logical Whether the net was empty.
extra_attacker logical Whether an extra attacker was on the ice.
x integer Raw x-coordinate of the event.
y integer Raw y-coordinate of the event.
x_fixed integer Side-adjusted x-coordinate.
y_fixed integer Side-adjusted y-coordinate.
shot_distance numeric Distance of the shot from the net.
shot_angle numeric Angle of the shot relative to the net.
home_skaters integer Number of home skaters on the ice.
away_skaters integer Number of away skaters on the ice.
home_on_1 character Name of home skater 1 on the ice.
home_on_2 character Name of home skater 2 on the ice.
home_on_3 character Name of home skater 3 on the ice.
home_on_4 character Name of home skater 4 on the ice.
home_on_5 character Name of home skater 5 on the ice.
home_on_6 character Name of home skater 6 on the ice.
home_on_7 character Name of home skater 7 on the ice.
away_on_1 character Name of away skater 1 on the ice.
away_on_2 character Name of away skater 2 on the ice.
away_on_3 character Name of away skater 3 on the ice.
away_on_4 character Name of away skater 4 on the ice.
away_on_5 character Name of away skater 5 on the ice.
away_on_6 character Name of away skater 6 on the ice.
away_on_7 character Name of away skater 7 on the ice.
home_goalie character Name of the home goalie on the ice.
away_goalie character Name of the away goalie on the ice.
num_on integer Number of players coming on (line change).
players_on character Names of players coming on.
num_off integer Number of players going off (line change).
players_off character Names of players going off.
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
season_type character Season type (regular/playoffs).
home_abbr character Home team abbreviation.
away_abbr character Away team abbreviation.
event_idx integer Sequential event index within the game.
event_id integer NHL event identifier.
away_goalie_in integer Whether the away goalie is in net (1/0).
home_goalie_in integer Whether the home goalie is in net (1/0).
reason character Reason for the event (e.g. stoppage reason).
secondaryReason character Secondary reason for the event.
ids_on character Player ids coming on.
ids_off character Player ids going off.
home_on_1_id integer Player id of home skater 1 on the ice.
away_on_1_id integer Player id of away skater 1 on the ice.
home_on_2_id integer Player id of home skater 2 on the ice.
away_on_2_id integer Player id of away skater 2 on the ice.
home_on_3_id integer Player id of home skater 3 on the ice.
away_on_3_id integer Player id of away skater 3 on the ice.
home_on_4_id integer Player id of home skater 4 on the ice.
away_on_4_id integer Player id of away skater 4 on the ice.
home_on_5_id integer Player id of home skater 5 on the ice.
away_on_5_id integer Player id of away skater 5 on the ice.
home_on_6_id integer Player id of home skater 6 on the ice.
away_on_6_id integer Player id of away skater 6 on the ice.
home_on_7_id integer Player id of home skater 7 on the ice.
away_on_7_id integer Player id of away skater 7 on the ice.
home_goalie_id integer Player id of the home goalie on the ice.
away_goalie_id integer Player id of the away goalie on the ice.
xg numeric Expected goals value for the shot event.

Examples

try(load_nhl_pbp(2022))

Load fastRhockey NHL play-by-play (full, alias)

Description

Alias of load_nhl_pbp() for naming parity with sportsdataverse-py. In this package load_nhl_pbp() already serves the full nhl_pbp_full release.

Usage

load_nhl_pbp_full(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_nhl_db()).

Value

See load_nhl_pbp().

See Also

load_nhl_pbp() load_nhl_pbp_lite()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_pbp_full(2024))

Load fastRhockey NHL play-by-play (lite)

Description

Same as load_nhl_pbp() but without line change (CHANGE) events, resulting in smaller file sizes.

Usage

load_nhl_pbp_lite(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with the same columns as load_nhl_pbp() but excluding line-change (CHANGE) events:

col_name types description
event_type character Standardized event type code.
event character Event description label.
secondary_type character Secondary event type (e.g. shot type).
event_team_abbr character Abbreviation of the team credited with the event.
event_team_type character Whether the event team is home or away.
description character Full text description of the event.
period integer Period number.
period_type character Period type (REGULAR/OVERTIME/SHOOTOUT).
period_time character Elapsed time in the period (MM:SS).
period_seconds integer Elapsed seconds in the period.
game_seconds integer Elapsed seconds in the game.
home_score integer Home team score after the event.
away_score integer Away team score after the event.
event_player_1_name character Name of the primary event player.
event_player_1_id integer Player id of the primary event player.
event_player_2_name character Name of the secondary event player.
event_player_2_id integer Player id of the secondary event player.
event_goalie_name character Name of the goalie on the event.
event_goalie_id integer Player id of the goalie on the event.
strength_state character Strength state (e.g. 5v5, 5v4).
x integer Raw x-coordinate of the event.
y integer Raw y-coordinate of the event.
shot_distance numeric Distance of the shot from the net.
shot_angle numeric Angle of the shot relative to the net.
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
xg numeric Expected goals value for the shot event.

Examples

try(load_nhl_pbp_lite(2026))

Load fastRhockey NHL penalty summary

Description

Helper that loads multiple seasons of NHL penalty event data from the sportsdataverse-data releases.

Usage

load_nhl_penalties(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per penalty and the following columns:

col_name types description
timeInPeriod character Time within the period the penalty occurred.
type character Penalty type (e.g. minor, major).
duration integer Penalty duration in minutes.
committedByPlayer list Player who committed the penalty (localized list).
teamAbbrev list Penalized team abbreviation (localized list).
drawnBy list Player who drew the penalty (localized list).
descKey character Penalty description key.
period_number integer Period number the penalty occurred in.
period_type character Period type (REG/OT/SO).

Examples

try(load_nhl_penalties(2026))

Load fastRhockey NHL player box scores

Description

Helper that loads multiple seasons of pre-scraped NHL player box scores (combined skaters + goalies) from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_nhl_player_box(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the player box data table within the database

Value

A data frame (fastRhockey_data) with the following columns (combined skaters + goalies; goalie-only fields are NA for skaters):

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation/code.
player_id integer Unique player identifier.
player_name character Player name.
sweater_number integer Jersey number.
position character Player position.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
plus_minus integer Plus/minus rating.
pim integer Penalty minutes.
hits integer Hits.
power_play_goals integer Power play goals.
shots_on_goal integer Shots on goal.
faceoff_winning_pctg numeric Faceoff win percentage.
toi character Time on ice.
blocked_shots integer Blocked shots.
shifts integer Number of shifts.
giveaways integer Giveaways.
takeaways integer Takeaways.
even_strength_shots_against character Even-strength shots against (goalies).
power_play_shots_against character Power play shots against (goalies).
shorthanded_shots_against character Shorthanded shots against (goalies).
save_shots_against character Saves / shots against (goalies).
save_pctg numeric Save percentage (goalies).
even_strength_goals_against integer Even-strength goals against (goalies).
power_play_goals_against integer Power play goals against (goalies).
shorthanded_goals_against integer Shorthanded goals against (goalies).
goals_against integer Goals against (goalies).
starter logical Whether the goalie started the game.
decision character Goalie decision (W/L/O).
shots_against integer Shots faced (goalies).
saves integer Saves made (goalies).

Examples

try(load_nhl_player_box(2022))

Load NHL player box scores (alias)

Description

Alias of load_nhl_player_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_player_boxscore(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_player_box().

See Also

load_nhl_player_box()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_player_boxscore(2022))

Load NHL player box scores (alias)

Description

Alias of load_nhl_player_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_player_boxscores(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_player_box().

See Also

load_nhl_player_box()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_player_boxscores(2022))

Load fastRhockey NHL team rosters

Description

Helper that loads multiple seasons of pre-scraped NHL roster data (unique players per season, de-duplicated from per-game rosters) from the sportsdataverse-data releases.

Usage

load_nhl_rosters(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the team rosters data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
full_name character Player full name.
first_name character Player first name.
last_name character Player last name.
team_abbr character Team abbreviation/code.
team_id integer Unique team identifier.
position_code character Player position code.
sweater_number integer Jersey number.
season integer Season (concluding year, YYYY).

Examples

try(load_nhl_rosters(2022))

Load fastRhockey NHL schedules

Description

Helper that loads multiple seasons of pre-scraped NHL schedule data from the sportsdataverse-data releases. The schedule includes data-availability flags for each game.

Usage

load_nhl_schedule(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the schedule data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
season_full character Full season label (e.g. 20212022).
game_type character Game type the row belongs to (regular/playoffs).
game_date character Game date.
game_time character Scheduled start time of the game.
home_team_abbr character Home team abbreviation.
away_team_abbr character Away team abbreviation.
home_team_name character Home team name.
away_team_name character Away team name.
home_score integer Home team final score.
away_score integer Away team final score.
game_state character Game status (e.g. FINAL/FUT).
venue character Venue where the game was played.
season integer Season (concluding year, YYYY).
game_json logical Whether processed game JSON is available.
game_json_url glue URL to the processed game JSON.
PBP logical Whether play-by-play data is available.
team_box logical Whether team box score data is available.
player_box logical Whether player box score data is available.

Examples

try(load_nhl_schedule(2022))

Load NHL schedules (alias)

Description

Alias of load_nhl_schedule() for naming parity with sportsdataverse-py.

Usage

load_nhl_schedules(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_schedule().

See Also

load_nhl_schedule()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_skater_boxscores(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_schedules(2022))

Load fastRhockey NHL scoring summary

Description

Helper that loads multiple seasons of NHL goal-scoring event data from the sportsdataverse-data releases.

Usage

load_nhl_scoring(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per goal and the following columns:

col_name types description
situationCode character Strength/situation code for the goal.
eventId integer NHL event identifier.
strength character Strength state at which the goal was scored.
playerId integer Player id of the goal scorer.
firstName list Scorer first name (localized list).
lastName list Scorer last name (localized list).
name list Scorer display name (localized list).
teamAbbrev list Scoring team abbreviation (localized list).
headshot character URL to the scorer headshot image.
highlightClipSharingUrl character Shareable URL for the goal highlight clip.
highlightClip numeric Highlight clip identifier.
discreteClip numeric Discrete clip identifier.
goalsToDate integer Scorer goal total to date in the season.
awayScore integer Away team score after the goal.
homeScore integer Home team score after the goal.
leadingTeamAbbrev list Abbreviation of the leading team (localized list).
timeInPeriod character Time within the period the goal was scored.
shotType character Type of shot on the goal.
goalModifier character Goal modifier (e.g. empty-net, power-play).
assists list List of assisting players on the goal.
pptReplayUrl character URL to the power-play replay, if any.
homeTeamDefendingSide character Side of the ice the home team defended.
isHome logical Whether the scoring team is the home team.
period_number integer Period number the goal was scored in.
period_type character Period type (REG/OT/SO).

Examples

try(load_nhl_scoring(2026))

Load fastRhockey NHL scratches

Description

Helper that loads multiple seasons of NHL healthy scratch data from the sportsdataverse-data releases.

Usage

load_nhl_scratches(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per scratched player per game and the following columns:

col_name types description
id integer Unique player identifier.
firstName character Player first name.
lastName character Player last name.
game_id integer Unique game identifier.

Examples

try(load_nhl_scratches(2026))

Load fastRhockey NHL shifts

Description

Helper that loads multiple seasons of NHL shift-by-shift data from the sportsdataverse-data releases.

Usage

load_nhl_shifts(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per shift change and the following columns:

col_name types description
event_team character Team associated with the shift change.
period integer Period number.
period_time character Elapsed time in the period (MM:SS).
period_seconds integer Elapsed seconds in the period.
game_seconds integer Elapsed seconds in the game.
num_on integer Number of players coming on.
players_on character Names of players coming on.
ids_on character Player ids coming on.
num_off integer Number of players going off.
players_off character Names of players going off.
ids_off character Player ids going off.
event character Event description label.
event_type character Standardized event type code.
game_seconds_remaining integer Seconds remaining in regulation.

Examples

try(load_nhl_shifts(2026))

Load fastRhockey NHL shootout summary

Description

Helper that loads multiple seasons of NHL shootout-attempt data (one row per shooter per shootout, with result + goalie) from the sportsdataverse-data releases. Only games that ended in a shootout contribute rows.

Usage

load_nhl_shootout(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per shootout attempt (only games that ended in a shootout contribute rows) and the following columns:

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_date character Game date.
sequence integer Order of the attempt within the shootout.
team_abbrev character Abbreviation of the shooting team.
player_id integer Player id of the shooter.
first_name character Shooter first name.
last_name character Shooter last name.
shot_type character Type of shot taken (e.g. wrist, snap, backhand).
result character Attempt result (goal/save/miss).
game_winner logical Whether this attempt was the decisive one.

Examples

try(load_nhl_shootout(2026))

Load fastRhockey NHL shots by period

Description

Helper that loads multiple seasons of NHL per-period shot totals (one row per team per period per game) from the sportsdataverse-data releases.

Usage

load_nhl_shots_by_period(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per team per period per game and the following columns:

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_date character Game date.
home_away character Home or away indicator.
period_number integer Period number (1-3 regulation, 4+ for OT/SO).
period_type character Period type (REG/OT/SO).
shots integer Shots on goal in the period.

Examples

try(load_nhl_shots_by_period(2026))

Load fastRhockey NHL skater box scores

Description

Helper that loads multiple seasons of pre-scraped NHL skater box scores from the sportsdataverse-data releases.

Usage

load_nhl_skater_box(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation/code.
player_id integer Unique player identifier.
player_name character Player name.
sweater_number integer Jersey number.
position character Player position.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
plus_minus integer Plus/minus rating.
pim integer Penalty minutes.
hits integer Hits.
power_play_goals integer Power play goals.
shots_on_goal integer Shots on goal.
faceoff_winning_pctg numeric Faceoff win percentage.
toi character Time on ice.
blocked_shots integer Blocked shots.
shifts integer Number of shifts.
giveaways integer Giveaways.
takeaways integer Takeaways.

Examples

try(load_nhl_skater_box(2022))

Load NHL skater box scores (alias)

Description

Alias of load_nhl_skater_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_skater_boxscores(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_skater_box().

See Also

load_nhl_skater_box()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_team_boxscore(), load_nhl_team_boxscores()

Examples

try(load_nhl_skater_boxscores(2022))

Load fastRhockey NHL team box scores

Description

Helper that loads multiple seasons of pre-scraped NHL team box scores from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_nhl_team_box(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the team box data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation/code.
team_name character Team name.
goals integer Goals scored.
shots_on_goal integer Shots on goal.
pim integer Penalty minutes.
hits integer Hits.
blocked_shots integer Blocked shots.
giveaways integer Giveaways.
takeaways integer Takeaways.
power_play_goals integer Power play goals.
faceoff_win_pctg numeric Faceoff win percentage.
saves integer Saves made.
save_pctg numeric Save percentage.
goals_against integer Goals against.

Examples

try(load_nhl_team_box(2022))

Load NHL team box scores (alias)

Description

Alias of load_nhl_team_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_team_boxscore(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_team_box().

See Also

load_nhl_team_box()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscores()

Examples

try(load_nhl_team_boxscore(2022))

Load NHL team box scores (alias)

Description

Alias of load_nhl_team_box() for naming parity with sportsdataverse-py.

Usage

load_nhl_team_boxscores(seasons = most_recent_nhl_season(), ...)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

Value

See load_nhl_team_box().

See Also

load_nhl_team_box()

Other NHL Loader Functions: load_nhl_goalie_boxscores(), load_nhl_pbp_full(), load_nhl_player_boxscore(), load_nhl_player_boxscores(), load_nhl_schedules(), load_nhl_skater_boxscores(), load_nhl_team_boxscore()

Examples

try(load_nhl_team_boxscores(2022))

Load fastRhockey NHL three stars / decisions

Description

Helper that loads multiple seasons of NHL three-star selections and game decisions from the sportsdataverse-data releases.

Usage

load_nhl_three_stars(
  seasons = most_recent_nhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years (the end year of the NHL season; e.g., 2026 for the 2025-26 season). Min: 2011.

...

Additional arguments passed to an underlying function.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the data table within the database

Value

A data frame (fastRhockey_data) with one row per star selection (plus the game winner/loser goalie decision) and the following columns:

col_name types description
star integer Star ranking (1, 2, or 3).
playerId integer Player id of the selected star.
teamAbbrev character Team abbreviation of the selected star.
headshot character URL to the player headshot image.
name list Player display name (localized list).
sweaterNo integer Jersey number.
position character Player position.
goals integer Goals scored in the game (skaters).
assists integer Assists in the game (skaters).
points integer Total points in the game (skaters).
goalsAgainstAverage numeric Goals-against average (goalies).
savePctg numeric Save percentage (goalies).
game_id integer Unique game identifier.
winner_id integer Player id of the winning goalie.
winner_name character Name of the winning goalie.
loser_id integer Player id of the losing goalie.
loser_name character Name of the losing goalie.

Examples

try(load_nhl_three_stars(2026))

Load fastRhockey PHF play-by-play

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

load_phf_pbp(
  seasons = most_recent_phf_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PHF seasons. (Min: 2011)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_phf_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the play by play data table within the database

Value

A dataframe

Examples

try(load_phf_pbp(2021))

Load fastRhockey PHF player box scores

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

load_phf_player_box(
  seasons = most_recent_phf_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PHF seasons. (Min: 2011)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_phf_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the player box data table within the database

Value

Returns a tibble

Examples

try(load_phf_player_box(2021))

Load fastRhockey PHF team rosters

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

load_phf_rosters(
  seasons = most_recent_phf_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PHF seasons. (Min: 2021)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_phf_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the team rosters data table within the database

Value

Returns a tibble

Examples

try(load_phf_rosters(2021))

Load fastRhockey PHF schedules

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

load_phf_schedule(
  seasons = most_recent_phf_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PHF seasons. (Min: 2011)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_phf_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the schedule data table within the database

Value

Returns a tibble

Examples

try(load_phf_schedule(2021))

Load fastRhockey PHF team box scores

Description

helper that loads multiple seasons from the data repo either into memory or writes it into a db using some forwarded arguments in the dots

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

load_phf_team_box(
  seasons = most_recent_phf_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PHF seasons. (Min: 2011)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_phf_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the team box data table within the database

Value

Returns a tibble

Examples

try(load_phf_team_box(2021))

Load fastRhockey PWHL game info

Description

Helper that loads multiple seasons of per-game PWHL metadata (one row per game) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_game_info. File naming convention: ⁠game_info_{end_year}.rds⁠.

Usage

load_pwhl_game_info(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the game info data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
game_number character League game number.
game_date character Human-readable game date.
game_date_iso character ISO-8601 game start datetime.
start_time character Start time (local).
end_time character End time (local).
game_duration character Game length (H:MM).
game_venue character Venue name.
attendance integer Reported attendance.
game_status character Game status text.
game_season_id integer HockeyTech season identifier.
started integer Flag for whether the game has started.
final integer Flag for whether the game is final.
home_team_id integer Home team identifier.
home_team character Home team name.
home_team_abbr character Home team abbreviation.
home_score integer Home team final score.
away_team_id integer Away team identifier.
away_team character Away team name.
away_team_abbr character Away team abbreviation.
away_score integer Away team final score.
has_shootout integer Flag for whether the game went to shootout.
game_report_url character URL to the game report.
boxscore_url character URL to the boxscore.

Examples

try(load_pwhl_game_info(2024))

Load fastRhockey PWHL per-game rosters

Description

Helper that loads multiple seasons of PWHL per-game rosters (one row per player per game, including starters and scratches) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_game_rosters. File naming convention: ⁠game_rosters_{end_year}.rds⁠. Distinct from load_pwhl_rosters(), which returns season-level team rosters.

Usage

load_pwhl_game_rosters(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the per-game rosters data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
team_id integer Unique team identifier.
team character Team name.
team_abbr character Team abbreviation.
team_side character Home or away indicator.
player_type character Player type (skater or goalie).
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
jersey_number integer Jersey number.
position character Player position.
birth_date character Player birth date.
starting integer Whether the player started the game.
status character Status string (e.g. captain markers).

Examples

try(load_pwhl_game_rosters(2024))

Load fastRhockey PWHL goalie box scores

Description

Helper that loads multiple seasons of pre-scraped PWHL goalie-only box score data from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_goalie_boxscores. File naming convention: ⁠goalie_box_{end_year}.rds⁠.

Usage

load_pwhl_goalie_box(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the goalie box data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id character Unique player identifier.
first_name character Goalie first name.
last_name character Goalie last name.
position character Player position.
team_id integer Unique team identifier.
game_id integer Unique game identifier.
league character League code.
toi character Time on ice (MM:SS).
time_on_ice numeric Time on ice in seconds.
saves integer Saves made.
goals_against integer Goals against.
shots_against integer Shots faced.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
penalty_minutes integer Penalty minutes.
faceoff_attempts integer Faceoff attempts.
faceoff_wins integer Faceoff wins.
faceoff_losses integer Faceoff losses.
faceoff_pct logical Faceoff win percentage.
starting integer Whether the goalie started the game.

Examples

try(load_pwhl_goalie_box(2024))

Load PWHL goalie box scores (alias)

Description

Alias of load_pwhl_goalie_box() for naming parity with sportsdataverse-py.

Usage

load_pwhl_goalie_boxscores(seasons = most_recent_pwhl_season(), ...)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

Value

See load_pwhl_goalie_box().

See Also

load_pwhl_goalie_box()

Other PWHL Loader Functions: load_pwhl_player_boxscores(), load_pwhl_schedules(), load_pwhl_skater_boxscores(), load_pwhl_team_boxscores()

Examples

try(load_pwhl_goalie_boxscores(2024))

Load fastRhockey PWHL officials

Description

Helper that loads multiple seasons of PWHL game-officials data (referees, linespersons, scorekeepers) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_officials. File naming convention: ⁠officials_{end_year}.rds⁠.

Usage

load_pwhl_officials(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the officials data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
role character Grouped official role (Referee/Linesperson).
first_name character Official's first name.
last_name character Official's last name.
jersey_number integer Official's jersey number.
official_role character Official's specific role.

Examples

try(load_pwhl_officials(2024))

Load fastRhockey PWHL play-by-play

Description

Helper that loads multiple seasons of pre-scraped PWHL play-by-play data from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_pwhl_pbp(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database (used by update_pwhl_db()).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the play-by-play data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
event character Play-by-play event description.
team_id integer Team identifier for the event.
period_of_game character Period in which the event occurred.
time_of_period character Game clock time within the period.
player_id integer Primary player identifier.
player_name_first character Primary player first name.
player_name_last character Primary player last name.
player_position character Primary player position.
player_two_id integer Second player identifier.
player_two_name_first character Second player first name.
player_two_name_last character Second player last name.
player_two_position character Second player position.
x_coord numeric Event x-coordinate on the ice.
y_coord numeric Event y-coordinate on the ice.
home_win integer Flag for whether the home team won.
player_team_id integer Team identifier of the primary player.
event_type character Categorized event type.
shot_quality character Shot quality descriptor.
goal logical Flag for whether the event was a goal.
goalie_id integer Goalie identifier on the play.
goalie_first character Goalie first name.
goalie_last character Goalie last name.
player_three_id integer Third player identifier.
player_three_name_first character Third player first name.
player_three_name_last character Third player last name.
player_three_position character Third player position.
empty_net character Empty-net flag.
game_winner character Game-winning-goal flag.
penalty_shot character Penalty-shot flag.
insurance character Insurance-goal flag.
power_play integer Power-play flag.
short_handed character Short-handed flag.
plus_player_one_id integer On-ice plus player one identifier.
plus_player_one_first character On-ice plus player one first name.
plus_player_one_last character On-ice plus player one last name.
plus_player_one_position character On-ice plus player one position.
plus_player_two_id integer On-ice plus player two identifier.
plus_player_two_first character On-ice plus player two first name.
plus_player_two_last character On-ice plus player two last name.
plus_player_two_position character On-ice plus player two position.
plus_player_three_id integer On-ice plus player three identifier.
plus_player_three_first character On-ice plus player three first name.
plus_player_three_last character On-ice plus player three last name.
plus_player_three_position character On-ice plus player three position.
plus_player_four_id integer On-ice plus player four identifier.
plus_player_four_first character On-ice plus player four first name.
plus_player_four_last character On-ice plus player four last name.
plus_player_four_position character On-ice plus player four position.
plus_player_five_id integer On-ice plus player five identifier.
plus_player_five_first character On-ice plus player five first name.
plus_player_five_last character On-ice plus player five last name.
plus_player_five_position character On-ice plus player five position.
minus_player_one_id integer On-ice minus player one identifier.
minus_player_one_first character On-ice minus player one first name.
minus_player_one_last character On-ice minus player one last name.
minus_player_one_position character On-ice minus player one position.
minus_player_two_id integer On-ice minus player two identifier.
minus_player_two_first character On-ice minus player two first name.
minus_player_two_last character On-ice minus player two last name.
minus_player_two_position character On-ice minus player two position.
minus_player_three_id integer On-ice minus player three identifier.
minus_player_three_first character On-ice minus player three first name.
minus_player_three_last character On-ice minus player three last name.
minus_player_three_position character On-ice minus player three position.
minus_player_four_id integer On-ice minus player four identifier.
minus_player_four_first character On-ice minus player four first name.
minus_player_four_last character On-ice minus player four last name.
minus_player_four_position character On-ice minus player four position.
minus_player_five_id integer On-ice minus player five identifier.
minus_player_five_first character On-ice minus player five first name.
minus_player_five_last character On-ice minus player five last name.
minus_player_five_position character On-ice minus player five position.
penalty_length character Penalty length in minutes.
game_date character Game date.
game_season integer Season (concluding year, YYYY).
game_season_id character HockeyTech season identifier.
home_team_id integer Home team identifier.
home_team character Home team name.
away_team_id integer Away team identifier.
away_team character Away team name.
x_coord_original integer Original raw x-coordinate.
y_coord_original integer Original raw y-coordinate.
x_coord_neutral integer Neutral-orientation x-coordinate.
y_coord_neutral integer Neutral-orientation y-coordinate.
x_coord_fixed numeric Fixed-orientation x-coordinate.
y_coord_fixed numeric Fixed-orientation y-coordinate.
x_coord_right numeric Right-orientation x-coordinate.
y_coord_right numeric Right-orientation y-coordinate.
x_coord_vertical numeric Vertical-orientation x-coordinate.
y_coord_vertical numeric Vertical-orientation y-coordinate.
minute_start integer Minute the event started.
second_start integer Second the event started.
clock character Game clock string.
sec_from_start integer Seconds elapsed from the start of the game.

Examples

try(load_pwhl_pbp(2024))

Load fastRhockey PWHL penalty summaries

Description

Helper that loads multiple seasons of per-penalty PWHL penalty summaries (one row per penalty) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_penalty_summary. File naming convention: ⁠penalty_summary_{end_year}.rds⁠.

Usage

load_pwhl_penalty_summary(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the penalty summary data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
period_id integer Period identifier.
period character Period long name.
time character Game clock at infraction (MM:SS).
team_id integer Penalized team identifier.
team character Penalized team name.
team_abbr character Penalized team abbreviation.
game_penalty_id integer Penalty identifier within the game.
minutes integer Penalty length in minutes.
description character Infraction description.
rule_number character Rulebook rule number.
is_power_play integer Power-play flag.
is_bench integer Bench-minor flag.
taken_by_id integer Identifier of the player who took the penalty.
taken_by_first character Offender first name.
taken_by_last character Offender last name.
taken_by_position character Offender position.
served_by_id integer Identifier of the player serving the penalty.
served_by_first character First name of the player serving.
served_by_last character Last name of the player serving.

Examples

try(load_pwhl_penalty_summary(2024))

Load fastRhockey PWHL player box scores

Description

Helper that loads multiple seasons of pre-scraped PWHL player box score data from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_pwhl_player_box(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the player box data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id character Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.
team_id integer Unique team identifier.
game_id integer Unique game identifier.
league character League code.
toi character Time on ice (MM:SS).
time_on_ice numeric Time on ice in seconds.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
shots integer Shots on goal.
hits integer Hits.
blocked_shots integer Blocked shots.
penalty_minutes integer Penalty minutes.
plus_minus integer Plus/minus rating.
faceoff_attempts integer Faceoff attempts.
faceoff_wins integer Faceoff wins.
faceoff_losses integer Faceoff losses.
faceoff_pct numeric Faceoff win percentage.
starting character Whether the player started the game.
player_type character Player type (skater or goalie).

Examples

try(load_pwhl_player_box(2024))

Load PWHL player box scores (alias)

Description

Alias of load_pwhl_player_box() for naming parity with sportsdataverse-py.

Usage

load_pwhl_player_boxscores(seasons = most_recent_pwhl_season(), ...)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database.

Value

See load_pwhl_player_box().

See Also

load_pwhl_player_box()

Other PWHL Loader Functions: load_pwhl_goalie_boxscores(), load_pwhl_schedules(), load_pwhl_skater_boxscores(), load_pwhl_team_boxscores()

Examples

try(load_pwhl_player_boxscores(2024))

Load fastRhockey PWHL team rosters

Description

Helper that loads multiple seasons of pre-scraped PWHL roster data from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_pwhl_rosters(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the rosters data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_id integer Unique team identifier.
team character Team name.
team_abbr character Team abbreviation.
team_side character Home or away indicator.
player_type character Player type (skater or goalie).
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
jersey_number integer Jersey number.
position character Player position.
birth_date character Player birth date.
season integer Season (concluding year, YYYY).

Examples

try(load_pwhl_rosters(2024))

Load fastRhockey PWHL schedules

Description

Helper that loads multiple seasons of pre-scraped PWHL schedule data from the sportsdataverse-data releases either into memory or writes it into a database.

Usage

load_pwhl_schedule(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database.

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the schedule data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id character Unique game identifier.
season integer Season (concluding year, YYYY).
game_date character Game date.
game_status character Game status text.
home_team character Home team name.
home_team_id character Home team identifier.
away_team character Away team name.
away_team_id character Away team identifier.
home_score character Home team final score.
away_score character Away team final score.
winner character Winning team.
venue character Venue name.
venue_url character Venue URL.
game_type character Game type the row belongs to.
game_json logical Whether the game JSON is available.
game_json_url glue URL to the game JSON feed.
PBP logical Whether play-by-play data is available.
player_box logical Whether player box data is available.
skater_box logical Whether skater box data is available.
goalie_box logical Whether goalie box data is available.
team_box logical Whether team box data is available.
game_info logical Whether game info data is available.
game_rosters logical Whether game rosters data is available.
scoring_summary logical Whether scoring summary data is available.
penalty_summary logical Whether penalty summary data is available.
three_stars logical Whether three stars data is available.
officials logical Whether officials data is available.
shots_by_period logical Whether shots-by-period data is available.
shootout logical Whether shootout data is available.

Examples

try(load_pwhl_schedule(2024))

Load PWHL schedules (alias)

Description

Alias of load_pwhl_schedule() for naming parity with sportsdataverse-py.

Usage

load_pwhl_schedules(seasons = most_recent_pwhl_season(), ...)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments passed to an underlying function that writes the season data into a database.

Value

See load_pwhl_schedule().

See Also

load_pwhl_schedule()

Other PWHL Loader Functions: load_pwhl_goalie_boxscores(), load_pwhl_player_boxscores(), load_pwhl_skater_boxscores(), load_pwhl_team_boxscores()

Examples

try(load_pwhl_schedules(2024))

Load fastRhockey PWHL scoring summaries

Description

Helper that loads multiple seasons of per-goal PWHL scoring summaries (one row per goal) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_scoring_summary. File naming convention: ⁠scoring_summary_{end_year}.rds⁠.

Usage

load_pwhl_scoring_summary(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the scoring summary data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
period_id integer Period identifier.
period character Period long name (e.g. 1st, 1st OT).
time character Game clock at goal (MM:SS).
team_id integer Scoring team identifier.
team character Scoring team name.
team_abbr character Scoring team abbreviation.
game_goal_id integer Goal identifier within the game.
scorer_goal_number integer Scorer's season goal number.
scorer_id integer Goal scorer identifier.
scorer_first character Scorer first name.
scorer_last character Scorer last name.
scorer_position character Scorer position.
assist_1_id integer Primary assist player identifier.
assist_1_first character Primary assist first name.
assist_1_last character Primary assist last name.
assist_2_id integer Secondary assist player identifier.
assist_2_first character Secondary assist first name.
assist_2_last character Secondary assist last name.
is_power_play integer Power-play flag.
is_short_handed integer Short-handed flag.
is_empty_net integer Empty-net flag.
is_penalty_shot integer Penalty-shot flag.
is_insurance integer Insurance-goal flag.
is_game_winning integer Game-winning-goal flag.
x_location logical Goal x-coordinate on the ice.
y_location logical Goal y-coordinate on the ice.

Examples

try(load_pwhl_scoring_summary(2024))

Load fastRhockey PWHL shootout summaries

Description

Helper that loads multiple seasons of PWHL shootout-attempt data from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_shootout. File naming convention: ⁠shootout_summary_{end_year}.rds⁠. Note that some seasons (notably the 2024 inaugural season) do not contain any shootout games.

Usage

load_pwhl_shootout(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the shootout data table within the database

Value

A data frame (fastRhockey_data) with one row per shootout attempt and the following columns:

col_name types description
game_id integer Unique game identifier.
round integer Shootout round number.
team_side character Shooting team side ("home"/"away").
shooter_id integer Shooter player identifier.
shooter_first character Shooter first name.
shooter_last character Shooter last name.
goalie_id integer Opposing goalie identifier.
goalie_first character Opposing goalie first name.
goalie_last character Opposing goalie last name.
is_goal integer Whether the attempt scored (1/0).

Examples

try(load_pwhl_shootout(2024))

Load fastRhockey PWHL shots-by-period

Description

Helper that loads multiple seasons of per-period shot/goal totals from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_shots_by_period. File naming convention: ⁠shots_by_period_{end_year}.rds⁠.

Usage

load_pwhl_shots_by_period(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the shots-by-period data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
period_id integer Period identifier (1-3, 4 = OT, 5 = SO).
period character Period long name.
home_goals integer Home goals in the period.
home_shots integer Home shots in the period.
away_goals integer Away goals in the period.
away_shots integer Away shots in the period.

Examples

try(load_pwhl_shots_by_period(2024))

Load fastRhockey PWHL skater box scores

Description

Helper that loads multiple seasons of pre-scraped PWHL skater-only box score data from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_skater_boxscores. File naming convention: ⁠skater_box_{end_year}.rds⁠.

Usage

load_pwhl_skater_box(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the skater box data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id character Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.
team_id integer Unique team identifier.
game_id integer Unique game identifier.
league character League code.
toi character Time on ice (MM:SS).
time_on_ice numeric Time on ice in seconds.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
shots integer Shots on goal.
hits integer Hits.
blocked_shots integer Blocked shots.
penalty_minutes integer Penalty minutes.
plus_minus integer Plus/minus rating.
faceoff_attempts integer Faceoff attempts.
faceoff_wins integer Faceoff wins.
faceoff_losses integer Faceoff losses.
faceoff_pct numeric Faceoff win percentage.
starting character Whether the player started the game.

Examples

try(load_pwhl_skater_box(2024))

Load PWHL skater box scores (alias)

Description

Alias of load_pwhl_skater_box() for naming parity with sportsdataverse-py.

Usage

load_pwhl_skater_boxscores(seasons = most_recent_pwhl_season(), ...)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

Value

See load_pwhl_skater_box().

See Also

load_pwhl_skater_box()

Other PWHL Loader Functions: load_pwhl_goalie_boxscores(), load_pwhl_player_boxscores(), load_pwhl_schedules(), load_pwhl_team_boxscores()

Examples

try(load_pwhl_skater_boxscores(2024))

Load fastRhockey PWHL team box scores

Description

Helper that loads multiple seasons of pre-scraped PWHL team-level box score data from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_team_boxscores. Two rows per game (one per side). File naming convention: ⁠team_box_{end_year}.rds⁠.

Usage

load_pwhl_team_box(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the team box data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
team_id integer Unique team identifier.
team character Team name.
team_abbr character Team abbreviation.
team_side character Home or away indicator.
shots integer Shots on goal.
goals integer Goals scored.
hits integer Hits.
pp_goals integer Power-play goals.
pp_opportunities integer Power-play opportunities.
goal_count integer Total goals recorded.
assist_count integer Total assists recorded.
penalty_minutes integer Penalty minutes.
infraction_count integer Number of infractions.
faceoff_attempts integer Faceoff attempts.
faceoff_wins integer Faceoff wins.
faceoff_win_pct numeric Faceoff win percentage.
season_wins integer Season wins entering/after the game.
season_losses integer Season losses entering/after the game.
season_ot_wins integer Season overtime wins.
season_ot_losses integer Season overtime losses.
season_so_losses integer Season shootout losses.
season_record character Season record after this game.

Examples

try(load_pwhl_team_box(2024))

Load PWHL team box scores (alias)

Description

Alias of load_pwhl_team_box() for naming parity with sportsdataverse-py.

Usage

load_pwhl_team_boxscores(seasons = most_recent_pwhl_season(), ...)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

Value

See load_pwhl_team_box().

See Also

load_pwhl_team_box()

Other PWHL Loader Functions: load_pwhl_goalie_boxscores(), load_pwhl_player_boxscores(), load_pwhl_schedules(), load_pwhl_skater_boxscores()

Examples

try(load_pwhl_team_boxscores(2024))

Load fastRhockey PWHL three stars

Description

Helper that loads multiple seasons of PWHL three-stars-of-the- game data (one to three rows per game) from the sportsdataverse-data releases either into memory or writes it into a database.

Source release tag: pwhl_three_stars. File naming convention: ⁠three_stars_{end_year}.rds⁠.

Usage

load_pwhl_three_stars(
  seasons = most_recent_pwhl_season(),
  ...,
  dbConnection = NULL,
  tablename = NULL
)

Arguments

seasons

A vector of 4-digit years associated with given PWHL seasons. (Min: 2024)

...

Additional arguments (currently unused; kept for API symmetry).

dbConnection

A DBIConnection object, as returned by DBI::dbConnect()

tablename

The name of the three stars data table within the database

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
star integer Star rank (1-3).
team_id integer Star's team identifier.
team character Star's team name.
team_abbr character Star's team abbreviation.
player_id integer Star's player identifier.
first_name character Star's first name.
last_name character Star's last name.
jersey_number integer Jersey number.
position character Player position.
is_goalie integer Goalie flag.
is_home integer Home-team flag.
goals integer Goals scored in this game.
assists integer Assists in this game.
points integer Points in this game.
shots integer Shots on goal in this game.
saves integer Saves made (goalies).
shots_against integer Shots faced (goalies).
goals_against integer Goals against (goalies).
time_on_ice character Time on ice (MM:SS).

Examples

try(load_pwhl_three_stars(2024))

Most Recent NHL Season

Description

Returns the concluding year for the most recent NHL season. The NHL season typically runs from October to June, so a game played in November 2024 belongs to the 2025 season.

Usage

most_recent_nhl_season()

Value

Value for most recent NHL season


Most Recent NHL Season for NHL API

Description

Returns the most recent NHL season in the format required by the NHL API (e.g., "20242025"). The NHL season typically runs from October to June, so a game played in November 2024 belongs to the 2025 season, which is represented as "20242025" in the NHL API.

Usage

most_recent_nhl_season_api_param()

Value

Value for most recent NHL season in the format of the NHL API


Most Recent PHF Season

Description

Most Recent PHF Season

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

most_recent_phf_season()

Value

Value for most recent PHF season


Most Recent PWHL Season

Description

Returns the concluding year for the most recent PWHL season. The PWHL season typically runs from January to May, so a game played in March 2025 belongs to the 2025 season.

Usage

most_recent_pwhl_season()

Value

Numeric value for the most recent PWHL season year (e.g., 2025).


NHL All Players by Season

Description

Aggregator helper that iterates every NHL team's season roster (via nhl_teams_roster()) and flattens forwards, defensemen, and goalies into a single tidy data frame. Mirrors the Helpers.all_players convenience helper from the nhl-api-py Python client.

Usage

nhl_all_players_by_season(season, sleep_rate = 0)

Arguments

season

Integer four-digit year representing the start year of the season (e.g. 2024 for the 2024-25 season), matching the convention used by nhl_teams_roster().

sleep_rate

Numeric seconds to Sys.sleep() between per-team API calls. Defaults to 0 (no delay).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
full_name character Player full name.
sweater_number integer Jersey number.
position_code character Player position code.
shoots_catches character Handedness (shoots/catches).
height_inches integer Player height in inches.
weight_pounds integer Player weight in pounds.
birth_date character Player birth date.
birth_city character Player birth city.
birth_country character Player birth country.
headshot_url character URL to the player headshot image.
team_abbr character Team abbreviation.
season numeric Season start year (e.g., 2024 for 2024-25).

Examples

try(nhl_all_players_by_season(season = 2024))

NHL CAT Edge Goalie Detail

Description

Returns the categorical (CAT) variant of the NHL Edge advanced-metrics detail payload for a single goalie. Wraps ⁠https://api-web.nhle.com/v1/cat/edge/goalie-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_cat_edge_goalie_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Categorical metric identifier.
game_types list Nested per-game-type categorical Edge metric values.

Examples

try(nhl_cat_edge_goalie_detail(player_id = 8475883))

NHL CAT Edge Skater Detail

Description

Returns the categorical (CAT) variant of the NHL Edge advanced-metrics detail payload for a single skater. Wraps ⁠https://api-web.nhle.com/v1/cat/edge/skater-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_cat_edge_skater_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Categorical metric identifier.
game_types list Nested per-game-type categorical Edge metric values.

Examples

try(nhl_cat_edge_skater_detail(player_id = 8478402))

NHL Club Schedule

Description

Returns schedule data for a given team. Supports season, month, and week views.

Usage

nhl_club_schedule(
  team_abbr,
  season = NULL,
  month = NULL,
  view = "season",
  date = NULL
)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

season

Integer 4-digit end year of the season (e.g., 2026 for the 2025-26 season), matching most_recent_nhl_season(). If NULL, returns the current season schedule.

month

Character month in "YYYY-MM" format (e.g., "2025-01"). If provided, returns that month's schedule. Ignored if view is "week".

view

Character: "season" (default), "month", or "week".

date

Character date in "YYYY-MM-DD" format for week view. If NULL with view="week", returns current week.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique game identifier.
season integer Season in 8-digit API format (e.g., 20252026).
game_type integer Game type code (1 preseason, 2 regular, 3 playoff).
game_date character Game date.
neutral_site logical Whether the game is at a neutral site.
start_time_utc character Scheduled start time in UTC.
eastern_utc_offset character Eastern time UTC offset.
venue_utc_offset character Venue UTC offset.
venue_timezone character Venue time zone.
game_state character Current game state.
game_schedule_state character Schedule state of the game.
tv_broadcasts list Nested list of TV broadcast details.
three_min_recap character Link to the three-minute recap.
game_center_link character Link to the game center page.
three_min_recap_fr character Link to the French three-minute recap.
condensed_game_fr character Link to the French condensed game video.
condensed_game character Link to the condensed game video.
venue_default character Venue name (default language).
venue_fr character Venue name (French).
venue_es character Venue name (Spanish).
away_team_id integer Away team identifier.
away_team_abbrev character Away team abbreviation.
away_team_logo character URL to the away team logo.
away_team_dark_logo character URL to the away team dark logo.
away_team_away_split_squad logical Whether the away team is a split squad.
away_team_score integer Away team score.
away_team_hotel_link character Link to away team hotel info.
away_team_hotel_desc character Away team hotel description.
away_team_airline_link character Link to away team airline info.
away_team_airline_desc character Away team airline description.
away_team_common_name_default character Away team common name (default language).
away_team_common_name_fr character Away team common name (French).
away_team_place_name_default character Away team place name (default language).
away_team_place_name_fr character Away team place name (French).
away_team_place_name_with_preposition_default character Away team place name with preposition (default).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
home_team_id integer Home team identifier.
home_team_abbrev character Home team abbreviation.
home_team_logo character URL to the home team logo.
home_team_dark_logo character URL to the home team dark logo.
home_team_home_split_squad logical Whether the home team is a split squad.
home_team_score integer Home team score.
home_team_hotel_link character Link to home team hotel info.
home_team_hotel_desc character Home team hotel description.
home_team_airline_link character Link to home team airline info.
home_team_airline_desc character Home team airline description.
home_team_common_name_default character Home team common name (default language).
home_team_common_name_fr character Home team common name (French).
home_team_place_name_default character Home team place name (default language).
home_team_place_name_fr character Home team place name (French).
home_team_place_name_with_preposition_default character Home team place name with preposition (default).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
period_descriptor_period_type character Period type descriptor.
period_descriptor_max_regulation_periods integer Maximum number of regulation periods.
game_outcome_last_period_type character Period type in which the game ended.
winning_goalie_player_id integer Winning goalie player identifier.
winning_goalie_first_initial_default character Winning goalie first initial (default language).
winning_goalie_last_name_default character Winning goalie last name (default language).
winning_goalie_last_name_cs character Winning goalie last name (Czech).
winning_goalie_last_name_fi character Winning goalie last name (Finnish).
winning_goalie_last_name_sk character Winning goalie last name (Slovak).
winning_goalie_last_name_sv character Winning goalie last name (Swedish).
winning_goal_scorer_player_id integer Winning goal scorer player identifier.
winning_goal_scorer_first_initial_default character Winning goal scorer first initial (default).
winning_goal_scorer_last_name_default character Winning goal scorer last name (default language).
winning_goal_scorer_last_name_cs character Winning goal scorer last name (Czech).
winning_goal_scorer_last_name_sk character Winning goal scorer last name (Slovak).
winning_goal_scorer_last_name_fi character Winning goal scorer last name (Finnish).
team_abbr character Team abbreviation queried.

Examples

try(nhl_club_schedule(team_abbr = "TOR"))

NHL Club Stats Season

Description

Returns season-by-season stats metadata for a club, including which game types (regular season, playoffs) are available for each season.

Usage

nhl_club_stats_season(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
season integer Season in 8-digit API format (e.g., 20252026).
game_types list Game types available for the season (regular/playoff).
team_abbr character Team abbreviation queried.

Examples

try(nhl_club_stats_season(team_abbr = "TOR"))

NHL Conferences

Description

Returns a table of current NHL conferences derived from standings data.

The original NHL Stats API conferences endpoint is no longer available. This function now extracts conference information from the standings endpoint at api-web.nhle.com.

Usage

nhl_conferences(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current conferences.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
conference_name character Conference name (e.g. "Eastern", "Western").

Examples

try(nhl_conferences())

NHL Conference Info

Description

Returns teams belonging to a given conference, derived from standings data.

The original NHL Stats API conferences endpoint is no longer available. This function now extracts conference information from the standings endpoint at api-web.nhle.com.

Usage

nhl_conferences_info(conference_name, date = NULL)

Arguments

conference_name

Character. Conference name (e.g. "Eastern" or "Western").

date

Character date in "YYYY-MM-DD" format. If NULL, returns current conference info.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbr character Team abbreviation.
team_name character Team name.
team_common_name character Team common (nickname) name.
team_logo character URL to the team logo image.
conference_name character Conference name.
division_abbrev character Division abbreviation.
division_name character Division name.
place_name character Team place (city) name.
conference_sequence integer Team's seeding position within the conference.
division_sequence integer Team's seeding position within the division.
league_sequence integer Team's seeding position within the league.
wildcard_sequence integer Team's wild card seeding position.
games_played integer Games played.
wins integer Wins.
losses integer Losses.
ot_losses integer Overtime losses.
points integer Standings points.
point_pctg numeric Points percentage.
regulation_wins integer Wins in regulation.
regulation_plus_ot_wins integer Wins in regulation plus overtime.
goals_for integer Goals scored.
goals_against integer Goals against.
goal_differential integer Goal differential (goals for minus goals against).
home_wins integer Home wins.
home_losses integer Home losses.
home_ot_losses integer Home overtime losses.
road_wins integer Road wins.
road_losses integer Road losses.
road_ot_losses integer Road overtime losses.
l10_wins integer Wins in the last ten games.
l10_losses integer Losses in the last ten games.
l10_ot_losses integer Overtime losses in the last ten games.
streak_code character Current streak type code (W/L/OT).
streak_count integer Length of the current streak.
shootout_wins integer Shootout wins.
shootout_losses integer Shootout losses.

Examples

try(nhl_conferences_info(conference_name = "Eastern"))

NHL Divisions

Description

Returns information on NHL divisions derived from standings data.

The original NHL Stats API divisions endpoint is no longer available. This function now extracts division information from the standings endpoint at api-web.nhle.com.

Usage

nhl_divisions(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current divisions.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
division_name character Division name (e.g. "Atlantic", "Metropolitan").
division_abbrev character Division abbreviation.
conference_name character Parent conference name.

Examples

try(nhl_divisions())

NHL Divisions Info

Description

Returns teams belonging to a given division, derived from standings data.

The original NHL Stats API divisions endpoint is no longer available. This function now extracts division information from the standings endpoint at api-web.nhle.com.

Usage

nhl_divisions_info(division_name, date = NULL)

Arguments

division_name

Character. Division name (e.g. "Atlantic", "Metropolitan", "Central", "Pacific").

date

Character date in "YYYY-MM-DD" format. If NULL, returns current division info.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbr character Team abbreviation.
team_name character Team name.
team_common_name character Team common (nickname) name.
team_logo character URL to the team logo image.
conference_name character Conference name.
division_abbrev character Division abbreviation.
division_name character Division name.
place_name character Team place (city) name.
conference_sequence integer Team's seeding position within the conference.
division_sequence integer Team's seeding position within the division.
league_sequence integer Team's seeding position within the league.
wildcard_sequence integer Team's wild card seeding position.
games_played integer Games played.
wins integer Wins.
losses integer Losses.
ot_losses integer Overtime losses.
points integer Standings points.
point_pctg numeric Points percentage.
regulation_wins integer Wins in regulation.
regulation_plus_ot_wins integer Wins in regulation plus overtime.
goals_for integer Goals scored.
goals_against integer Goals against.
goal_differential integer Goal differential (goals for minus goals against).
home_wins integer Home wins.
home_losses integer Home losses.
home_ot_losses integer Home overtime losses.
road_wins integer Road wins.
road_losses integer Road losses.
road_ot_losses integer Road overtime losses.
l10_wins integer Wins in the last ten games.
l10_losses integer Losses in the last ten games.
l10_ot_losses integer Overtime losses in the last ten games.
streak_code character Current streak type code (W/L/OT).
streak_count integer Length of the current streak.
shootout_wins integer Shootout wins.
shootout_losses integer Shootout losses.

Examples

try(nhl_divisions_info(division_name = "Atlantic"))

NHL Draft

Description

Returns information on the most recent NHL draft picks.

Uses the new NHL API endpoint at api-web.nhle.com/v1/draft/picks/now.

Usage

nhl_draft()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
round integer Draft round number.
pick_in_round integer Pick number within the round.
overall_pick integer Overall pick number in the draft.
team_id integer Unique team identifier of the drafting team.
team_abbrev character Drafting team abbreviation.
team_name data.frame Drafting team name (localized).
team_common_name data.frame Drafting team common (nickname) name (localized).
team_place_name_with_preposition data.frame Drafting team place name with preposition.
display_abbrev data.frame Drafting team display abbreviation.
team_logo_light character URL to the team's light-theme logo.
team_logo_dark character URL to the team's dark-theme logo.
team_pick_history character History of the team's picks at this slot.
first_name data.frame Drafted player's first name (localized).
last_name data.frame Drafted player's last name (localized).
position_code character Drafted player's position code.
country_code character Drafted player's country code.
height integer Drafted player's height in inches.
weight integer Drafted player's weight in pounds.
amateur_league character Drafted player's amateur league.
amateur_club_name character Drafted player's amateur club name.

Examples

try(nhl_draft())

NHL Draft Prospects

Description

Returns current draft prospect rankings.

Uses the new NHL API endpoint at api-web.nhle.com/v1/draft/rankings/now.

Usage

nhl_draft_prospects()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
last_name character Prospect's last name.
first_name character Prospect's first name.
position_code character Prospect's position code.
shoots_catches character Prospect's shooting/catching hand.
height_in_inches integer Prospect's height in inches.
weight_in_pounds integer Prospect's weight in pounds.
last_amateur_club character Prospect's most recent amateur club.
last_amateur_league character Prospect's most recent amateur league.
birth_date character Prospect's birth date.
birth_city character Prospect's birth city.
birth_state_province character Prospect's birth state or province.
birth_country character Prospect's birth country.
midterm_rank integer Prospect's midterm draft ranking.
final_rank integer Prospect's final draft ranking.

Examples

try(nhl_draft_prospects())

NHL Draft Prospects Info

Description

Returns draft prospect rankings for a given year and prospect category.

Uses the new NHL API endpoint at api-web.nhle.com/v1/draft/rankings/{year}/{prospect_category}.

The original per-prospect-ID endpoint is no longer available. This function now returns rankings filtered by year and category.

Usage

nhl_draft_prospects_info(year, prospect_category = 1)

Arguments

year

Integer. Draft year (e.g. 2024).

prospect_category

Integer. Prospect category:

  • 1 = North American Skater

  • 2 = International Skater

  • 3 = North American Goalie

  • 4 = International Goalie

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
last_name character Prospect last name.
first_name character Prospect first name.
position_code character Player position code.
shoots_catches character Handedness (shoots/catches).
height_in_inches integer Height in inches.
weight_in_pounds integer Weight in pounds.
last_amateur_club character Last amateur club played for.
last_amateur_league character Last amateur league played in.
birth_date character Prospect birth date.
birth_city character Prospect birth city.
birth_state_province character Prospect birth state or province.
birth_country character Prospect birth country.
midterm_rank integer Midterm ranking for the prospect.
final_rank integer Final ranking for the prospect.

Examples

try(nhl_draft_prospects_info(year = 2024, prospect_category = 1))

NHL Draft Rankings

Description

Returns NHL draft rankings for a given season and category.

Usage

nhl_draft_rankings(season = NULL, category = 1)

Arguments

season

Integer 4-digit year (e.g., 2024). If NULL, returns current.

category

Integer category: 1 = North American skaters, 2 = International skaters, 3 = North American goalies, 4 = International goalies. Default 1.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
last_name character Prospect last name.
first_name character Prospect first name.
position_code character Player position code.
shoots_catches character Handedness (shoots/catches).
height_in_inches integer Height in inches.
weight_in_pounds integer Weight in pounds.
last_amateur_club character Most recent amateur club.
last_amateur_league character Most recent amateur league.
birth_date character Date of birth.
birth_city character City of birth.
birth_state_province character State or province of birth.
birth_country character Country of birth.
midterm_rank integer Midterm draft ranking.
final_rank integer Final draft ranking.

Examples

try(nhl_draft_rankings())

NHL Draft Tracker

Description

Returns the live (real-time) NHL draft tracker picks from the NHL web service endpoint draft-tracker/picks/now.

This is distinct from nhl_draft(), which hits draft/picks/now and returns the static draft board. The draft tracker is only populated during an active NHL draft window and will return NULL (or an empty payload) outside of that window.

Usage

nhl_draft_tracker()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
pick_in_round integer Pick number within the round.
overall_pick integer Overall pick number in the draft.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation.
team_logo_light character URL to the team logo (light variant).
team_logo_dark character URL to the team logo (dark variant).
state character Pick state (e.g., on the clock, complete).
position_code character Player position code.
team_full_name_default character Team full name (default language).
team_full_name_fr character Team full name (French).
team_common_name_default character Team common name (default language).
team_common_name_fr character Team common name (French).
team_place_name_with_preposition_default character Team place name with preposition (default).
team_place_name_with_preposition_fr character Team place name with preposition (French).
last_name_default character Player last name (default language).
first_name_default character Player first name (default language).

Examples

try(nhl_draft_tracker())

NHL Draft by Year

Description

Returns draft pick information for a given year.

Uses the NHL API endpoint at api-web.nhle.com/v1/draft/picks/{year}/{round}.

When round is NULL (default) or the literal string "all", the function takes the fast path and hits draft/picks/{year}/all in a single request instead of looping over rounds 1-7.

Usage

nhl_draft_year(year, round = NULL)

Arguments

year

Integer. Draft year (e.g. 2023).

round

Integer, character, or NULL. Specific round (1-7), the literal string "all", or NULL (treated the same as "all") to fetch every round at once.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
round integer Draft round.
pick_in_round integer Pick number within the round.
overall_pick integer Overall pick number in the draft.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation.
team_name data.frame Team name (localized variants).
team_common_name data.frame Team common name (localized variants).
team_place_name_with_preposition data.frame Team place name with preposition (localized).
display_abbrev data.frame Display abbreviation (localized variants).
team_logo_light character URL to the team logo (light variant).
team_logo_dark character URL to the team logo (dark variant).
team_pick_history character Team pick history string.
first_name data.frame Player first name (localized variants).
last_name data.frame Player last name (localized variants).
position_code character Player position code.
country_code character Player country code.
height integer Player height in inches.
weight integer Player weight in pounds.
amateur_league character Amateur league played in.
amateur_club_name character Amateur club played for.

Examples

try(nhl_draft_year(year = 2023, round = 1))
   try(nhl_draft_year(year = 2023, round = "all"))

NHL Edge Analytics Endpoint Overview

Description

Wrappers around the NHL Edge analytics backend at api-web.nhle.com/v1/edge/... (and the cat variants at api-web.nhle.com/v1/cat/edge/...). These surface the per-skater, per-goalie, and per-team advanced metrics that power the public NHL Edge UI: shot location, shot speed, skating speed, skating distance, zone time, comparisons, and top-10 leaderboards. All wrappers route through .nhl_edge_api() / .nhl_edge_to_df() in helpers_nhl_edge.R so the ⁠/now⁠ vs ⁠/{season}/{game_type}⁠ URL split and the assorted response shapes are handled in one place.

Details

Skater Edge

Function Purpose
nhl_edge_skater_detail() Per-skater Edge summary
nhl_edge_skater_landing() Edge landing page payload
nhl_edge_skater_comparison() Two-skater Edge comparison
nhl_edge_skater_shot_location_detail() Shot location heatmap
nhl_edge_skater_shot_location_top_10() Shot-location top-10
nhl_edge_skater_shot_speed_detail() Shot-speed splits
nhl_edge_skater_shot_speed_top_10() Shot-speed top-10
nhl_edge_skater_skating_speed_detail() Skating-speed splits
nhl_edge_skater_speed_top_10() Skating-speed top-10
nhl_edge_skater_skating_distance_detail() Skating-distance splits
nhl_edge_skater_distance_top_10() Skating-distance top-10
nhl_edge_skater_zone_time() Zone-time splits
nhl_edge_skater_zone_time_top_10() Zone-time top-10
nhl_cat_edge_skater_detail() CAT-framework skater detail

Goalie Edge

Function Purpose
nhl_edge_goalie_detail() Per-goalie Edge summary
nhl_edge_goalie_landing() Edge landing page payload
nhl_edge_goalie_comparison() Two-goalie comparison
nhl_edge_goalie_5v5_detail() 5-on-5 splits
nhl_edge_goalie_5v5_top_10() 5-on-5 top-10
nhl_edge_goalie_save_percentage_detail() Save-percentage splits
nhl_edge_goalie_edge_save_pctg_top_10() Save-percentage top-10
nhl_edge_goalie_shot_location_detail() Shot-location heatmap
nhl_edge_goalie_shot_location_top_10() Shot-location top-10
nhl_cat_edge_goalie_detail() CAT-framework goalie detail

Team Edge

Function Purpose
nhl_edge_team_detail() Per-team Edge summary
nhl_edge_team_landing() Edge landing page payload
nhl_edge_team_shot_location_detail() Team shot location
nhl_edge_team_shot_location_top_10() Team shot location top-10
nhl_edge_team_shot_speed_detail() Team shot speed
nhl_edge_team_skating_speed_detail() Team skating speed
nhl_edge_team_skating_speed_top_10() Team skating speed top-10
nhl_edge_team_skating_distance_detail() Team skating distance
nhl_edge_team_skating_distance_top_10() Team skating distance top-10
nhl_edge_team_zone_time_details() Team zone time
nhl_edge_team_zone_time_top_10() Team zone time top-10

NHL Edge Goalie 5v5 Detail

Description

Returns the NHL Edge 5-on-5 advanced-metrics detail payload for a single goalie. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-5v5-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_5v5_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character URL to the game center page.
save_pctg numeric Save percentage.
game_date character Game date.
decision character Goalie decision (W/L/OT).
player_on_home_team logical Whether the goalie played for the home team.
home_team_abbrev character Home team abbreviation.
home_team_slug character Home team slug.
home_team_common_name_default character Home team common name (default language).
home_team_common_name_fr character Home team common name (French).
home_team_place_name_with_preposition_default character Home team place name with preposition (def).
home_team_place_name_with_preposition_fr character Home team place name with preposition (FR).
home_team_team_logo_light character Home team logo URL (light variant).
home_team_team_logo_dark character Home team logo URL (dark variant).
away_team_abbrev character Away team abbreviation.
away_team_slug character Away team slug.
away_team_common_name_default character Away team common name (default language).
away_team_place_name_with_preposition_default character Away team place name with preposition (def).
away_team_place_name_with_preposition_fr character Away team place name with preposition (FR).
away_team_team_logo_light character Away team logo URL (light variant).
away_team_team_logo_dark character Away team logo URL (dark variant).

Examples

try(nhl_edge_goalie_5v5_detail(player_id = 8475883))

NHL Edge Goalie 5v5 Top 10

Description

Returns the NHL Edge top-10 5-on-5 goalie leaderboard for a given sort_by key. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-5v5-top-10/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_5v5_top_10(sort_by, season = NULL, game_type = 2)

Arguments

sort_by

Character sort-by key accepted by the Edge API (e.g., "savePctg").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_goalie_5v5_top_10(sort_by = "savePctg"))

NHL Edge Goalie Comparison

Description

Returns the NHL Edge goalie comparison payload for a single focus goalie versus a cohort. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-comparison/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_comparison(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Goalie player identifier in the cohort.
game_types list Game-type metrics for the goalie comparison.

Examples

try(nhl_edge_goalie_comparison(player_id = 8475883))

NHL Edge Goalie Detail

Description

Returns the NHL Edge advanced-metrics detail payload for a single goalie. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Goalie player identifier.
game_types list Game-type advanced-metrics detail.

Examples

try(nhl_edge_goalie_detail(player_id = 8475883))

NHL Edge Goalie Edge Save Percentage Top 10

Description

Returns the NHL Edge top-10 goalie save-percentage leaderboard for a given sort_by key. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-edge-save-pctg-top-10/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_edge_save_pctg_top_10(sort_by, season = NULL, game_type = 2)

Arguments

sort_by

Character sort-by key accepted by the Edge API (e.g., "savePctg").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_goalie_edge_save_pctg_top_10(sort_by = "savePctg"))

NHL Edge Goalie Landing

Description

Returns the NHL Edge goalie landing-page payload. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-landing/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_landing(season = NULL, game_type = 2)

Arguments

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
game_types list Nested list of game-type-specific landing metrics.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_goalie_landing())

NHL Edge Goalie Save Percentage Detail

Description

Returns the NHL Edge save-percentage detail payload for a single goalie. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-save-percentage-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_save_percentage_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page for the game.
save_pctg numeric Save percentage for the game.
game_date character Game date.
decision character Goalie decision (win, loss, or overtime/shootout loss).
player_on_home_team logical Whether the goalie played for the home team.
home_team_abbrev character Home team abbreviation.
home_team_common_name_default character Home team common name (default locale).
home_team_common_name_fr character Home team common name (French locale).
home_team_place_name_with_preposition_default character Home team place name with preposition (default locale).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French locale).
home_team_team_logo_light character Home team light-mode logo URL.
home_team_team_logo_dark character Home team dark-mode logo URL.
away_team_abbrev character Away team abbreviation.
away_team_common_name_default character Away team common name (default locale).
away_team_place_name_with_preposition_default character Away team place name with preposition (default locale).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French locale).
away_team_team_logo_light character Away team light-mode logo URL.
away_team_team_logo_dark character Away team dark-mode logo URL.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_goalie_save_percentage_detail(player_id = 8475883))

NHL Edge Goalie Shot Location Detail

Description

Returns the NHL Edge shot-location detail payload for a single goalie. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-shot-location-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_shot_location_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8475883 for Andrei Vasilevskiy).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
area character Net/ice zone the shots were taken from.
shots_against integer Shots faced from the area.
saves integer Saves made from the area.
goals_against integer Goals against from the area.
save_pctg numeric Save percentage for the area.
shots_against_percentile numeric League percentile rank for shots against.
saves_percentile numeric League percentile rank for saves.
goals_against_percentile numeric League percentile rank for goals against.
save_pctg_percentile numeric League percentile rank for save percentage.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_goalie_shot_location_detail(player_id = 8475883))

NHL Edge Goalie Shot Location Top 10

Description

Returns the NHL Edge top-10 goalie leaderboard for a given shot-location category and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/goalie-shot-location-top-10/{category}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_goalie_shot_location_top_10(
  category,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

category

Character shot-location category accepted by the Edge API (e.g., "high", "mid", "low").

sort_by

Character sort-by key accepted by the Edge API (e.g., "savePctg").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_goalie_shot_location_top_10(
      category = "high",
      sort_by = "savePctg"
  ))

NHL Edge Skater Comparison

Description

Returns the NHL Edge skater comparison payload for a single focus player versus a cohort. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-comparison/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_comparison(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
game_types list Nested list of game-type-specific comparison metrics.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_skater_comparison(player_id = 8478402))

NHL Edge Skater Detail

Description

Returns the NHL Edge advanced-metrics detail payload for a single skater. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
game_types list Nested list of game-type-specific detail metrics.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_skater_detail(player_id = 8478402))

NHL Edge Skater Distance Top 10

Description

Returns the NHL Edge top-10 "iron-man / mileage" skating distance leaderboard for a given positions, strength, and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-distance-top-10/{positions}/{strength}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_distance_top_10(
  positions,
  strength,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

positions

Character positions filter accepted by the Edge API (e.g., "F" for forwards, "D" for defensemen).

strength

Character strength filter accepted by the Edge API (e.g., "all", "ev", "pp", "sh").

sort_by

Character sort-by key accepted by the Edge API (e.g., "total").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_slug character URL-friendly player slug.
player_headshot character Player headshot image URL.
player_position character Player position.
player_sweater_number integer Jersey number.
player_first_name_default character Player first name (default locale).
player_first_name_cs character Player first name (Czech locale).
player_first_name_de character Player first name (German locale).
player_first_name_es character Player first name (Spanish locale).
player_first_name_fi character Player first name (Finnish locale).
player_first_name_sk character Player first name (Slovak locale).
player_first_name_sv character Player first name (Swedish locale).
player_last_name_default character Player last name (default locale).
player_last_name_cs character Player last name (Czech locale).
player_last_name_sk character Player last name (Slovak locale).
player_team_abbrev character Player team abbreviation.
player_team_slug character Player team URL-friendly slug.
player_team_common_name_default character Player team common name (default locale).
player_team_place_name_with_preposition_default character Player team place name with preposition (default locale).
player_team_place_name_with_preposition_fr character Player team place name with preposition (French locale).
player_team_team_logo_light character Player team light-mode logo URL.
player_team_team_logo_dark character Player team dark-mode logo URL.
distance_total_imperial numeric Total skating distance (imperial units).
distance_total_metric numeric Total skating distance (metric units).
distance_per60_imperial numeric Skating distance per 60 minutes (imperial units).
distance_per60_metric numeric Skating distance per 60 minutes (metric units).
distance_max_per_game_imperial numeric Maximum single-game skating distance (imperial units).
distance_max_per_game_metric numeric Maximum single-game skating distance (metric units).
distance_max_per_game_overlay_game_date character Game date of the max-per-game performance.
distance_max_per_game_overlay_game_type integer Game type of the max-per-game performance.
distance_max_per_game_overlay_player_first_name_default character Max-per-game player first name (default locale).
distance_max_per_game_overlay_player_first_name_cs character Max-per-game player first name (Czech locale).
distance_max_per_game_overlay_player_first_name_de character Max-per-game player first name (German locale).
distance_max_per_game_overlay_player_first_name_es character Max-per-game player first name (Spanish locale).
distance_max_per_game_overlay_player_first_name_fi character Max-per-game player first name (Finnish locale).
distance_max_per_game_overlay_player_first_name_sk character Max-per-game player first name (Slovak locale).
distance_max_per_game_overlay_player_first_name_sv character Max-per-game player first name (Swedish locale).
distance_max_per_game_overlay_player_last_name_default character Max-per-game player last name (default locale).
distance_max_per_game_overlay_player_last_name_cs character Max-per-game player last name (Czech locale).
distance_max_per_game_overlay_player_last_name_sk character Max-per-game player last name (Slovak locale).
distance_max_per_game_overlay_away_team_abbrev character Away team abbreviation in the max-per-game game.
distance_max_per_game_overlay_away_team_score integer Away team score in the max-per-game game.
distance_max_per_game_overlay_home_team_abbrev character Home team abbreviation in the max-per-game game.
distance_max_per_game_overlay_home_team_score integer Home team score in the max-per-game game.
distance_max_per_game_overlay_game_outcome_last_period_type character Last period type of the max-per-game game outcome.
distance_max_per_game_overlay_game_outcome_ot_periods integer Number of overtime periods in the max-per-game game.
distance_max_per_game_overlay_period_descriptor_max_regulation_periods integer Maximum regulation periods for the max-per-game game.
distance_max_per_game_overlay_period_descriptor_number integer Period number for the max-per-game descriptor.
distance_max_per_game_overlay_period_descriptor_period_type character Period type for the max-per-game descriptor.
distance_max_per_period_imperial numeric Maximum single-period skating distance (imperial units).
distance_max_per_period_metric numeric Maximum single-period skating distance (metric units).
distance_max_per_period_overlay_game_date character Game date of the max-per-period performance.
distance_max_per_period_overlay_game_type integer Game type of the max-per-period performance.
distance_max_per_period_overlay_player_first_name_default character Max-per-period player first name (default locale).
distance_max_per_period_overlay_player_first_name_cs character Max-per-period player first name (Czech locale).
distance_max_per_period_overlay_player_first_name_de character Max-per-period player first name (German locale).
distance_max_per_period_overlay_player_first_name_es character Max-per-period player first name (Spanish locale).
distance_max_per_period_overlay_player_first_name_fi character Max-per-period player first name (Finnish locale).
distance_max_per_period_overlay_player_first_name_sk character Max-per-period player first name (Slovak locale).
distance_max_per_period_overlay_player_first_name_sv character Max-per-period player first name (Swedish locale).
distance_max_per_period_overlay_player_last_name_default character Max-per-period player last name (default locale).
distance_max_per_period_overlay_player_last_name_cs character Max-per-period player last name (Czech locale).
distance_max_per_period_overlay_player_last_name_sk character Max-per-period player last name (Slovak locale).
distance_max_per_period_overlay_away_team_abbrev character Away team abbreviation in the max-per-period game.
distance_max_per_period_overlay_away_team_score integer Away team score in the max-per-period game.
distance_max_per_period_overlay_home_team_abbrev character Home team abbreviation in the max-per-period game.
distance_max_per_period_overlay_home_team_score integer Home team score in the max-per-period game.
distance_max_per_period_overlay_game_outcome_last_period_type character Last period type of the max-per-period game outcome.
distance_max_per_period_overlay_game_outcome_ot_periods integer Number of overtime periods in the max-per-period game.
distance_max_per_period_overlay_period_descriptor_max_regulation_periods integer Maximum regulation periods for the max-per-period game.
distance_max_per_period_overlay_period_descriptor_number integer Period number for the max-per-period descriptor.
distance_max_per_period_overlay_period_descriptor_period_type character Period type for the max-per-period descriptor.

Returns NULL on failure / empty response.

Examples

try(nhl_edge_skater_distance_top_10(
      positions = "F",
      strength = "all",
      sort_by = "total"
  ))

NHL Edge Skater Landing

Description

Returns the NHL Edge skater landing-page payload. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-landing/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_landing(season = NULL, game_type = 2)

Arguments

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer NHL Edge season identifier.
game_types list List of available game types for the season.

Examples

try(nhl_edge_skater_landing())

NHL Edge Skater Shot Location Detail

Description

Returns the NHL Edge shot-location detail payload for a single skater (heatmap-style data). Wraps ⁠https://api-web.nhle.com/v1/edge/skater-shot-location-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_shot_location_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
area character Shot location area on the ice.
sog integer Shots on goal from the area.
goals integer Goals scored from the area.
shooting_pctg numeric Shooting percentage from the area.
sog_percentile numeric League percentile rank for shots on goal.
goals_percentile numeric League percentile rank for goals.
shooting_pctg_percentile numeric League percentile rank for shooting percentage.

Examples

try(nhl_edge_skater_shot_location_detail(player_id = 8478402))

NHL Edge Skater Shot Location Top 10

Description

Returns the NHL Edge top-10 skater leaderboard for a given shot location position, category, and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-shot-location-top-10/{position}/{category}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_shot_location_top_10(
  position,
  category,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

position

Character position code accepted by the Edge API (e.g., "F" for forwards, "D" for defensemen).

category

Character shot-location category accepted by the Edge API (e.g., "high", "mid", "low").

sort_by

Character sort-by key accepted by the Edge API (e.g., "total").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_skater_shot_location_top_10(
      position = "F",
      category = "high",
      sort_by = "total"
  ))

NHL Edge Skater Shot Speed Detail

Description

Returns the NHL Edge shot-speed detail payload for a single skater. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-shot-speed-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_shot_speed_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page.
game_date character Game date.
game_type integer Game type (1 = preseason, 2 = regular, 3 = playoffs).
player_on_home_team logical Whether the player was on the home team.
time_in_period character Time within the period of the shot.
shot_speed_imperial numeric Shot speed in miles per hour.
shot_speed_metric numeric Shot speed in kilometers per hour.
period_descriptor_number integer Period number.
period_descriptor_period_type character Period type (e.g., REG, OT).
period_descriptor_max_regulation_periods integer Maximum number of regulation periods.
home_team_abbrev character Home team abbreviation.
home_team_slug character Home team URL slug.
home_team_common_name_default character Home team common name.
home_team_place_name_with_preposition_default character Home team place name with preposition (English).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character Home team light logo URL.
home_team_team_logo_dark character Home team dark logo URL.
away_team_abbrev character Away team abbreviation.
away_team_slug character Away team URL slug.
away_team_common_name_default character Away team common name.
away_team_place_name_with_preposition_default character Away team place name with preposition (English).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character Away team light logo URL.
away_team_team_logo_dark character Away team dark logo URL.

Examples

try(nhl_edge_skater_shot_speed_detail(player_id = 8478402))

NHL Edge Skater Shot Speed Top 10

Description

Returns the NHL Edge top-10 "hardest-shot" leaderboard for a given positions and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-shot-speed-top-10/{positions}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_shot_speed_top_10(
  positions,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

positions

Character positions filter accepted by the Edge API (e.g., "F" for forwards, "D" for defensemen, or a combined filter).

sort_by

Character sort-by key accepted by the Edge API (e.g., "total").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_skater_shot_speed_top_10(
      positions = "F",
      sort_by = "total"
  ))

NHL Edge Skater Skating Distance Detail

Description

Returns the NHL Edge skating-distance detail payload for a single skater (distance covered, strides, etc.). Wraps ⁠https://api-web.nhle.com/v1/edge/skater-skating-distance-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_skating_distance_detail(
  player_id,
  season = NULL,
  game_type = 2
)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page.
game_date character Game date.
player_on_home_team logical Whether the player was on the home team.
toi_all integer Total time on ice across all strengths (seconds).
toi_even integer Time on ice at even strength (seconds).
toi_pk integer Time on ice on the penalty kill (seconds).
toi_pp integer Time on ice on the power play (seconds).
distance_skated_all_imperial numeric Distance skated at all strengths in miles.
distance_skated_all_metric numeric Distance skated at all strengths in kilometers.
distance_skated_even_imperial numeric Distance skated at even strength in miles.
distance_skated_even_metric numeric Distance skated at even strength in kilometers.
distance_skated_pk_imperial numeric Distance skated on the penalty kill in miles.
distance_skated_pk_metric numeric Distance skated on the penalty kill in kilometers.
home_team_abbrev character Home team abbreviation.
home_team_slug character Home team URL slug.
home_team_common_name_default character Home team common name.
home_team_place_name_with_preposition_default character Home team place name with preposition (English).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character Home team light logo URL.
home_team_team_logo_dark character Home team dark logo URL.
away_team_abbrev character Away team abbreviation.
away_team_slug character Away team URL slug.
away_team_common_name_default character Away team common name.
away_team_place_name_with_preposition_default character Away team place name with preposition (English).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character Away team light logo URL.
away_team_team_logo_dark character Away team dark logo URL.
distance_skated_pp_imperial numeric Distance skated on the power play in miles.
distance_skated_pp_metric numeric Distance skated on the power play in kilometers.

Examples

try(nhl_edge_skater_skating_distance_detail(player_id = 8478402))

NHL Edge Skater Skating Speed Detail

Description

Returns the NHL Edge skating-speed detail payload for a single skater (velocity bursts, top speeds, etc.). Wraps ⁠https://api-web.nhle.com/v1/edge/skater-skating-speed-detail/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_skating_speed_detail(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page.
game_date character Game date.
game_type integer Game type (1 = preseason, 2 = regular, 3 = playoffs).
player_on_home_team logical Whether the player was on the home team.
time_in_period character Time within the period of the burst.
skating_speed_imperial numeric Skating speed in miles per hour.
skating_speed_metric numeric Skating speed in kilometers per hour.
period_descriptor_number integer Period number.
period_descriptor_period_type character Period type (e.g., REG, OT).
period_descriptor_max_regulation_periods integer Maximum number of regulation periods.
home_team_abbrev character Home team abbreviation.
home_team_slug character Home team URL slug.
home_team_common_name_default character Home team common name.
home_team_place_name_with_preposition_default character Home team place name with preposition (English).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character Home team light logo URL.
home_team_team_logo_dark character Home team dark logo URL.
away_team_abbrev character Away team abbreviation.
away_team_slug character Away team URL slug.
away_team_common_name_default character Away team common name.
away_team_place_name_with_preposition_default character Away team place name with preposition (English).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character Away team light logo URL.
away_team_team_logo_dark character Away team dark logo URL.

Examples

try(nhl_edge_skater_skating_speed_detail(player_id = 8478402))

NHL Edge Skater Speed Top 10

Description

Returns the NHL Edge top-10 "fastest skaters" leaderboard for a given positions and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-speed-top-10/{positions}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_speed_top_10(positions, sort_by, season = NULL, game_type = 2)

Arguments

positions

Character positions filter accepted by the Edge API (e.g., "F" for forwards, "D" for defensemen).

sort_by

Character sort-by key accepted by the Edge API (e.g., "total").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_skater_speed_top_10(
      positions = "F",
      sort_by = "total"
  ))

NHL Edge Skater Zone Time

Description

Returns the NHL Edge zone-time payload (offensive, defensive, neutral) for a single skater. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-zone-time/{playerId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_zone_time(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer NHL player ID (e.g., 8478402 for Connor McDavid).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
strength_code character Strength state code (e.g., all, even, pp, pk).
offensive_zone_pctg numeric Percentage of time in the offensive zone.
offensive_zone_percentile numeric League percentile rank for offensive-zone time.
offensive_zone_league_avg numeric League average offensive-zone time percentage.
neutral_zone_pctg numeric Percentage of time in the neutral zone.
neutral_zone_percentile numeric League percentile rank for neutral-zone time.
neutral_zone_league_avg numeric League average neutral-zone time percentage.
defensive_zone_pctg numeric Percentage of time in the defensive zone.
defensive_zone_percentile numeric League percentile rank for defensive-zone time.
defensive_zone_league_avg numeric League average defensive-zone time percentage.

Examples

try(nhl_edge_skater_zone_time(player_id = 8478402))

NHL Edge Skater Zone Time Top 10

Description

Returns the NHL Edge top-10 zone-time leaderboard for a given positions, strength, and sort_by combination. Wraps ⁠https://api-web.nhle.com/v1/edge/skater-zone-time-top-10/{positions}/{strength}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_skater_zone_time_top_10(
  positions,
  strength,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

positions

Character positions filter accepted by the Edge API (e.g., "F" for forwards, "D" for defensemen).

strength

Character strength filter accepted by the Edge API (e.g., "all", "ev", "pp", "sh").

sort_by

Character sort-by key accepted by the Edge API (e.g., "total").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_skater_zone_time_top_10(
      positions = "F",
      strength = "all",
      sort_by = "total"
  ))

NHL Edge Team Detail

Description

Returns the NHL Edge advanced-metrics detail payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-detail/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_detail(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique team identifier.
game_types list List of game types available for the team's data.

Examples

try(nhl_edge_team_detail(team_id = 10))

NHL Edge Team Landing

Description

Returns the NHL Edge team landing payload with league-wide team metrics. Wraps ⁠https://api-web.nhle.com/v1/edge/team-landing/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_landing(season = NULL, game_type = 2)

Arguments

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique team identifier.
game_types list List of game types available for the team's data.

Examples

try(nhl_edge_team_landing())

NHL Edge Team Shot Location Detail

Description

Returns the NHL Edge shot-location detail payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-shot-location-detail/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_shot_location_detail(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
area character Shot-location area on the ice.
sog integer Shots on goal from the area.
sog_rank integer League rank for shots on goal from the area.
goals integer Goals scored from the area.
goals_rank integer League rank for goals scored from the area.
shooting_pctg numeric Shooting percentage from the area.
shooting_pctg_rank integer League rank for shooting percentage from the area.

Examples

try(nhl_edge_team_shot_location_detail(team_id = 10))

NHL Edge Team Shot Location Top 10

Description

Returns the NHL Edge top-10 team shot-location leaderboard. Wraps ⁠https://api-web.nhle.com/v1/edge/team-shot-location-top-10/{position}/{category}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_shot_location_top_10(
  position,
  category,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

position

Character position filter (e.g., "F", "D", "all").

category

Character shot-location category (e.g., "high", "medium", "low").

sort_by

Character metric to sort the leaderboard by (e.g., "total", "percentage").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 team leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_team_shot_location_top_10(
    position = "F",
    category = "high",
    sort_by = "total"
  ))

NHL Edge Team Shot Speed Detail

Description

Returns the NHL Edge shot-speed detail payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-shot-speed-detail/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_shot_speed_detail(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page for the game.
game_date character Game date.
game_type integer Game type (1 = preseason, 2 = regular, 3 = playoffs).
is_home_team logical Whether the team was the home team.
time_in_period character Time elapsed in the period when the shot occurred.
player_id integer Unique player identifier.
player_slug character URL slug for the player.
player_first_name_default character Player first name (default language).
player_last_name_default character Player last name (default language).
player_last_name_cs character Player last name (Czech).
player_last_name_fi character Player last name (Finnish).
player_last_name_sk character Player last name (Slovak).
shot_speed_imperial numeric Shot speed in miles per hour.
shot_speed_metric numeric Shot speed in kilometers per hour.
period_descriptor_number integer Period number.
period_descriptor_period_type character Period type (e.g., REG, OT).
period_descriptor_max_regulation_periods integer Maximum number of regulation periods.
home_team_common_name_default character Home team common name (default language).
home_team_place_name_with_preposition_default character Home team place name with preposition (default).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character URL to the home team light logo.
home_team_team_logo_dark character URL to the home team dark logo.
away_team_common_name_default character Away team common name (default language).
away_team_place_name_with_preposition_default character Away team place name with preposition (default).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character URL to the away team light logo.
away_team_team_logo_dark character URL to the away team dark logo.

Examples

try(nhl_edge_team_shot_speed_detail(team_id = 10))

NHL Edge Team Skating Distance Detail

Description

Returns the NHL Edge skating-distance detail payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-skating-distance-detail/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_skating_distance_detail(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page for the game.
game_date character Game date.
is_home_team logical Whether the team was the home team.
toi_all integer Time on ice (all situations), in seconds.
toi_even integer Time on ice (even strength), in seconds.
toi_pp integer Time on ice (power play), in seconds.
toi_pk integer Time on ice (penalty kill), in seconds.
distance_skated_all_imperial numeric Distance skated (all situations), in miles.
distance_skated_all_metric numeric Distance skated (all situations), in kilometers.
distance_skated_even_imperial numeric Distance skated (even strength), in miles.
distance_skated_even_metric numeric Distance skated (even strength), in kilometers.
distance_skated_pp_imperial numeric Distance skated (power play), in miles.
distance_skated_pp_metric numeric Distance skated (power play), in kilometers.
distance_skated_pk_imperial numeric Distance skated (penalty kill), in miles.
distance_skated_pk_metric numeric Distance skated (penalty kill), in kilometers.
home_team_common_name_default character Home team common name (default language).
home_team_common_name_fr character Home team common name (French).
home_team_place_name_with_preposition_default character Home team place name with preposition (default).
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character URL to the home team light logo.
home_team_team_logo_dark character URL to the home team dark logo.
away_team_common_name_default character Away team common name (default language).
away_team_place_name_with_preposition_default character Away team place name with preposition (default).
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character URL to the away team light logo.
away_team_team_logo_dark character URL to the away team dark logo.

Examples

try(nhl_edge_team_skating_distance_detail(team_id = 10))

NHL Edge Team Skating Distance Top 10

Description

Returns the NHL Edge top-10 team skating-distance leaderboard. Wraps ⁠https://api-web.nhle.com/v1/edge/team-skating-distance-top-10/{positions}/{strength}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_skating_distance_top_10(
  positions,
  strength,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

positions

Character position filter (e.g., "F", "D", "all").

strength

Character strength state (e.g., "all", "ev", "pp", "pk").

sort_by

Character metric to sort the leaderboard by (e.g., "total", "per_60").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbrev character Team abbreviation.
team_slug character URL slug for the team.
team_common_name_default character Team common name (default language).
team_place_name_with_preposition_default character Team place name with preposition (default language).
team_team_logo_light character URL to the team light logo.
team_team_logo_dark character URL to the team dark logo.
distance_total_imperial numeric Total distance skated, in miles.
distance_total_metric numeric Total distance skated, in kilometers.
distance_per60_imperial numeric Distance skated per 60 minutes, in miles.
distance_per60_metric numeric Distance skated per 60 minutes, in kilometers.
distance_max_per_game_imperial numeric Maximum distance skated in a single game, in miles.
distance_max_per_game_metric numeric Maximum distance skated in a single game, in kilometers.
distance_max_per_game_overlay_game_date character Game date of the max-per-game performance.
distance_max_per_game_overlay_game_type integer Game type of the max-per-game performance.
distance_max_per_game_overlay_away_team_abbrev character Away team abbreviation in the max-per-game game.
distance_max_per_game_overlay_away_team_score integer Away team score in the max-per-game game.
distance_max_per_game_overlay_home_team_abbrev character Home team abbreviation in the max-per-game game.
distance_max_per_game_overlay_home_team_score integer Home team score in the max-per-game game.
distance_max_per_game_overlay_game_outcome_last_period_type character Last period type of the max-per-game game outcome.
distance_max_per_game_overlay_game_outcome_ot_periods integer Number of overtime periods in the max-per-game game.
distance_max_per_game_overlay_period_descriptor_max_regulation_periods integer Maximum regulation periods for the max-per-game game.
distance_max_per_game_overlay_period_descriptor_number integer Period number for the max-per-game game descriptor.
distance_max_per_game_overlay_period_descriptor_period_type character Period type for the max-per-game game descriptor.
distance_max_per_period_imperial numeric Maximum distance skated in a single period, in miles.
distance_max_per_period_metric numeric Maximum distance skated in a single period, in kilometers.
distance_max_per_period_overlay_game_date character Game date of the max-per-period performance.
distance_max_per_period_overlay_game_type integer Game type of the max-per-period performance.
distance_max_per_period_overlay_away_team_abbrev character Away team abbreviation in the max-per-period game.
distance_max_per_period_overlay_away_team_score integer Away team score in the max-per-period game.
distance_max_per_period_overlay_home_team_abbrev character Home team abbreviation in the max-per-period game.
distance_max_per_period_overlay_home_team_score integer Home team score in the max-per-period game.
distance_max_per_period_overlay_game_outcome_last_period_type character Last period type of the max-per-period game outcome.
distance_max_per_period_overlay_game_outcome_ot_periods integer Number of overtime periods in the max-per-period game.
distance_max_per_period_overlay_period_descriptor_max_regulation_periods integer Maximum regulation periods for the max-per-period game.
distance_max_per_period_overlay_period_descriptor_number integer Period number for the max-per-period game descriptor.
distance_max_per_period_overlay_period_descriptor_period_type character Period type for the max-per-period game descriptor.

Examples

try(nhl_edge_team_skating_distance_top_10(
    positions = "F",
    strength = "all",
    sort_by = "total"
  ))

NHL Edge Team Skating Speed Detail

Description

Returns the NHL Edge skating-speed detail payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-skating-speed-detail/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_skating_speed_detail(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_center_link character Link to the NHL game center page.
game_date character Game date.
game_type integer Game type code (2 = regular, 3 = playoffs).
is_home_team logical Whether the player's team was the home team.
time_in_period character Time in the period the top speed was recorded.
player_id integer Unique player identifier.
player_slug character Player URL slug.
player_first_name_default character Player first name.
player_last_name_default character Player last name.
skating_speed_imperial numeric Top skating speed in miles per hour.
skating_speed_metric numeric Top skating speed in kilometers per hour.
period_descriptor_number integer Period number.
period_descriptor_period_type character Period type (REG, OT, SO).
period_descriptor_max_regulation_periods integer Maximum number of regulation periods.
home_team_common_name_default character Home team common name.
home_team_place_name_with_preposition_default character Home team place name with preposition.
home_team_place_name_with_preposition_fr character Home team place name with preposition (French).
home_team_team_logo_light character Home team light logo URL.
home_team_team_logo_dark character Home team dark logo URL.
away_team_common_name_default character Away team common name.
away_team_place_name_with_preposition_default character Away team place name with preposition.
away_team_place_name_with_preposition_fr character Away team place name with preposition (French).
away_team_team_logo_light character Away team light logo URL.
away_team_team_logo_dark character Away team dark logo URL.

Examples

try(nhl_edge_team_skating_speed_detail(team_id = 10))

NHL Edge Team Skating Speed Top 10

Description

Returns the NHL Edge top-10 team skating-speed leaderboard. Wraps ⁠https://api-web.nhle.com/v1/edge/team-skating-speed-top-10/{positions}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_skating_speed_top_10(
  positions,
  sort_by,
  season = NULL,
  game_type = 2
)

Arguments

positions

Character position filter (e.g., "F", "D", "all").

sort_by

Character metric to sort the leaderboard by (e.g., "total", "top_speed").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A fastRhockey_data tibble with the top-10 team leaderboard, or NULL on failure / empty response.

Examples

try(nhl_edge_team_skating_speed_top_10(
    positions = "F",
    sort_by = "total"
  ))

NHL Edge Team Zone Time Details

Description

Returns the NHL Edge zone-time details payload for a single team. Wraps ⁠https://api-web.nhle.com/v1/edge/team-zone-time-details/{teamId}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_zone_time_details(team_id, season = NULL, game_type = 2)

Arguments

team_id

Integer NHL team ID (e.g., 10 for Toronto Maple Leafs).

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
strength_code character Game-strength state the row applies to.
offensive_zone_pctg numeric Percentage of time spent in the offensive zone.
offensive_zone_rank integer League rank for offensive zone time.
offensive_zone_league_avg numeric League-average offensive zone time percentage.
neutral_zone_pctg numeric Percentage of time spent in the neutral zone.
neutral_zone_rank integer League rank for neutral zone time.
neutral_zone_league_avg numeric League-average neutral zone time percentage.
defensive_zone_pctg numeric Percentage of time spent in the defensive zone.
defensive_zone_rank integer League rank for defensive zone time.
defensive_zone_league_avg numeric League-average defensive zone time percentage.

Examples

try(nhl_edge_team_zone_time_details(team_id = 10))

NHL Edge Team Zone Time Top 10

Description

Returns the NHL Edge top-10 team zone-time leaderboard. Wraps ⁠https://api-web.nhle.com/v1/edge/team-zone-time-top-10/{strength}/{sortBy}/...⁠. When season is NULL (default) the ⁠/now⁠ endpoint is used to fetch the current season.

Usage

nhl_edge_team_zone_time_top_10(strength, sort_by, season = NULL, game_type = 2)

Arguments

strength

Character strength state (e.g., "all", "ev", "pp", "pk").

sort_by

Character metric to sort the leaderboard by (e.g., "offensive", "defensive", "neutral").

season

Optional 4-digit end-year (e.g., 2025 for the 2024-25 season), an 8-character API season (e.g., "20242025"), or NULL (default) for the current season via the ⁠/now⁠ endpoint.

game_type

Integer game type. 1 = preseason, 2 = regular season (default), 3 = playoffs.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
offensive_zone_time numeric Percentage of time spent in the offensive zone.
neutral_zone_time numeric Percentage of time spent in the neutral zone.
defensive_zone_time numeric Percentage of time spent in the defensive zone.
team_abbrev character Team abbreviation.
team_slug character Team URL slug.
team_common_name_default character Team common name.
team_place_name_with_preposition_default character Team place name with preposition.
team_place_name_with_preposition_fr character Team place name with preposition (French).
team_team_logo_light character Team light logo URL.
team_team_logo_dark character Team dark logo URL.

Examples

try(nhl_edge_team_zone_time_top_10(
    strength = "all",
    sort_by = "offensive"
  ))

NHL Game Boxscore

Description

Retrieve boxscore data for a specific NHL game from the NHL web API (api-web.nhle.com).

Usage

nhl_game_boxscore(game_id)

Arguments

game_id

(integer) NHL game ID, e.g. 2024020001.

Details

Uses the endpoint ⁠https://api-web.nhle.com/v1/gamecenter/{game_id}/boxscore⁠.

Value

A named list of data frames: game_info, team_box, skater_stats, goalie_stats.

game_info

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_type integer Game type code (2 = regular, 3 = playoffs).
game_date character Game date.
venue character Venue name.
game_state character Game state (e.g., FINAL, LIVE).
away_team_id integer Away team identifier.
away_team_abbrev character Away team abbreviation.
away_team_name character Away team name.
away_score integer Away team final score.
away_sog integer Away team shots on goal.
home_team_id integer Home team identifier.
home_team_abbrev character Home team abbreviation.
home_team_name character Home team name.
home_score integer Home team final score.
home_sog integer Home team shots on goal.
last_period_type character Type of the last period played (REG, OT, SO).

team_box

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation.
team_name character Team name.
goals integer Goals scored.
shots_on_goal integer Shots on goal.
pim integer Penalty minutes.
hits integer Hits.
blocked_shots integer Blocked shots.
giveaways integer Giveaways.
takeaways integer Takeaways.
power_play_goals integer Power-play goals.
faceoff_win_pctg numeric Faceoff win percentage.
saves integer Saves made.
save_pctg numeric Save percentage.
goals_against integer Goals against.

skater_stats

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation.
player_id integer Unique player identifier.
player_name character Player name.
sweater_number integer Jersey number.
position character Player position.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
plus_minus integer Plus/minus rating.
pim integer Penalty minutes.
hits integer Hits.
power_play_goals integer Power-play goals.
shots_on_goal integer Shots on goal.
faceoff_winning_pctg numeric Faceoff win percentage.
toi character Time on ice.
blocked_shots integer Blocked shots.
shifts integer Number of shifts.
giveaways integer Giveaways.
takeaways integer Takeaways.

goalie_stats

col_name types description
home_away character Home or away indicator.
team_id integer Unique team identifier.
team_abbrev character Team abbreviation.
player_id integer Unique player identifier.
player_name character Player name.
sweater_number integer Jersey number.
even_strength_shots_against character Even-strength shots against (saves/total).
power_play_shots_against character Power-play shots against (saves/total).
shorthanded_shots_against character Shorthanded shots against (saves/total).
save_shots_against character Total shots against (saves/total).
save_pctg numeric Save percentage.
even_strength_goals_against integer Even-strength goals against.
power_play_goals_against integer Power-play goals against.
shorthanded_goals_against integer Shorthanded goals against.
pim integer Penalty minutes.
goals_against integer Goals against.
toi character Time on ice.
starter logical Whether the goalie started the game.
decision character Goalie decision (W, L, O).
shots_against integer Shots faced.
saves integer Saves made.

Examples

## Not run: 
  box <- nhl_game_boxscore(2024020001)
  box$game_info
  box$skater_stats

## End(Not run)

NHL Game Content

Description

Returns game summary content for a given game ID. Uses the new NHL API gamecenter landing endpoint (api-web.nhle.com).

Note: The original statsapi.web.nhl.com endpoint has been retired. This function now returns game summary data (teams, scoring, three stars) from the gamecenter landing page instead of the old highlights/content data.

Usage

nhl_game_content(game_id)

Arguments

game_id

Game unique ID (e.g., 2024020001)

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_type integer Game type code (2 = regular, 3 = playoffs).
game_date character Game date.
venue character Venue name.
away_team_abbrev character Away team abbreviation.
away_team_name character Away team name.
away_team_score integer Away team final score.
away_team_sog integer Away team shots on goal.
home_team_abbrev character Home team abbreviation.
home_team_name character Home team name.
home_team_score integer Home team final score.
home_team_sog integer Home team shots on goal.
game_state character Game state (e.g., FINAL, LIVE).
period integer Last period number played.
period_type character Last period type (REG, OT, SO).
star_1_player_id integer First star player identifier.
star_1_name character First star player name.
star_1_team_abbrev character First star player team abbreviation.
star_1_position character First star player position.
star_2_player_id integer Second star player identifier.
star_2_name character Second star player name.
star_2_team_abbrev character Second star player team abbreviation.
star_2_position character Second star player position.
star_3_player_id integer Third star player identifier.
star_3_name character Third star player name.
star_3_team_abbrev character Third star player team abbreviation.
star_3_position character Third star player position.

Examples

try(nhl_game_content(game_id = 2024020001))

NHL Game Feed

Description

Returns a named list with play-by-play data plus game metadata for a given NHL game. Uses the new NHL API at api-web.nhle.com.

Usage

nhl_game_feed(game_id, include_shifts = TRUE, raw = FALSE)

Arguments

game_id

Game unique ID (e.g. 2024020001)

include_shifts

Logical; whether to integrate shift data for on-ice player tracking. Default TRUE.

raw

Logical; if TRUE, return the unprocessed API response as a list instead of parsed/enriched data. Default FALSE.

Value

A named list of data frames: pbp, game_info, rosters. When raw = TRUE, returns the raw JSON response as a nested list.

pbp

See nhl_game_pbp() for the full play-by-play column dictionary; the pbp element returns the same one-row-per-event data frame.

game_info

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_type character Game type code (PR, R, P, A).
game_date character Game date.
venue character Venue name.
home_team_abbr character Home team abbreviation.
away_team_abbr character Away team abbreviation.
home_score integer Final home team score.
away_score integer Final away team score.
game_state character Current state of the game.

rosters

col_name types description
player_id integer Unique player identifier.
full_name character Player full name.
first_name character Player first name.
last_name character Player last name.
team_abbr character Team abbreviation.
team_id integer Unique team identifier.
position_code character Player position code.
sweater_number integer Jersey number.

Examples

try(nhl_game_feed(game_id = 2024020001))
  try(nhl_game_feed(game_id = 2024020001, raw = TRUE))

NHL Game IDs by Season

Description

Aggregator helper that iterates every NHL team's season schedule (via nhl_club_schedule()) and returns a deduplicated tidy data frame of game IDs for the requested season and game types. Mirrors the Helpers.game_ids_by_season convenience helper from the nhl-api-py Python client.

Usage

nhl_game_ids_by_season(
  season,
  game_types = c(2L),
  team_abbr = NULL,
  sleep_rate = 0
)

Arguments

season

Integer four-digit end year of the season (e.g. 2025 for the 2024-25 season). Passed through to nhl_club_schedule() which uses the same end-year convention.

game_types

Integer vector of NHL game types to keep. 1 = preseason, 2 = regular season (default), 3 = playoffs.

team_abbr

Optional character three-letter team abbreviation (e.g. "TOR"). If supplied, only that team's schedule is fetched instead of iterating all 32 NHL clubs.

sleep_rate

Numeric seconds to Sys.sleep() between per-team API calls when iterating all teams. Defaults to 0 (no delay).

Value

A data frame (fastRhockey_data) with one row per unique game and the following columns (returns NULL on outer failure):

col_name types description
game_id integer Unique game identifier.
season integer Season (concluding year, YYYY).
game_type integer Game type (1=pre, 2=regular, 3=playoffs).
game_date character Game date.
home_team character Home team abbreviation.
away_team character Away team abbreviation.

Examples

try(nhl_game_ids_by_season(season = 2025, team_abbr = "TOR"))

NHL Game Play-by-Play

Description

Returns detailed play-by-play data for a given NHL game, including event players, coordinates, on-ice skaters, strength states, shot distance/angle, and shift integration. Uses the new NHL API at api-web.nhle.com.

Usage

nhl_game_pbp(game_id, include_shifts = TRUE, raw = FALSE)

Arguments

game_id

Game unique ID (e.g. 2024020001)

include_shifts

Logical; whether to integrate shift data for on-ice player tracking. Default TRUE.

raw

Logical; if TRUE, return the unprocessed API response as a list instead of the parsed data frame. Default FALSE.

Value

A data frame (fastRhockey_data) with one row per event and the following columns (or the raw API response list when raw = TRUE):

col_name types description
event_type character Normalized event type code.
event character Human-readable event label.
secondary_type character Secondary type (shot type or penalty type).
event_team_abbr character Abbreviation of the team that owns the event.
event_team_type character Whether the event team is home or away.
description glue Text description of the event.
period integer Period number.
period_type character Period type (regular, overtime, shootout).
period_time character Time elapsed in the period (MM:SS).
period_seconds numeric Seconds elapsed in the period.
period_seconds_remaining numeric Seconds remaining in the period.
period_time_remaining character Time remaining in the period (MM:SS).
game_seconds numeric Seconds elapsed in the game.
game_seconds_remaining numeric Seconds remaining in the game.
home_score integer Home team score at the event.
away_score integer Away team score at the event.
event_player_1_name character Name of the primary event player.
event_player_1_type character Role of the primary event player.
event_player_1_id integer Player ID of the primary event player.
event_player_2_name character Name of the secondary event player.
event_player_2_type character Role of the secondary event player.
event_player_2_id integer Player ID of the secondary event player.
event_player_3_name character Name of the tertiary event player.
event_player_3_type character Role of the tertiary event player.
event_player_3_id integer Player ID of the tertiary event player.
event_goalie_name character Name of the goalie involved in the event.
event_goalie_id integer Player ID of the goalie involved in the event.
penalty_severity character Severity of the penalty.
penalty_minutes integer Penalty minutes assessed.
strength_state glue On-ice strength state (e.g. 5v5).
strength_code character Strength code (EV, PP, SH).
strength character Strength label (Even, Power Play, Shorthanded).
empty_net logical Whether the event occurred with an empty net.
extra_attacker logical Whether an extra attacker was on the ice.
x numeric Raw x coordinate of the event.
y numeric Raw y coordinate of the event.
x_fixed numeric Normalized x coordinate (home shoots right).
y_fixed numeric Normalized y coordinate (home shoots right).
shot_distance numeric Distance from the net for shot events.
shot_angle numeric Angle to the net for shot events.
home_skaters integer Number of home skaters on the ice.
away_skaters integer Number of away skaters on the ice.
home_on_1 character Name of home on-ice skater 1.
home_on_2 character Name of home on-ice skater 2.
home_on_3 character Name of home on-ice skater 3.
home_on_4 character Name of home on-ice skater 4.
home_on_5 character Name of home on-ice skater 5.
home_on_6 character Name of home on-ice skater 6.
home_on_7 character Name of home on-ice skater 7.
away_on_1 character Name of away on-ice skater 1.
away_on_2 character Name of away on-ice skater 2.
away_on_3 character Name of away on-ice skater 3.
away_on_4 character Name of away on-ice skater 4.
away_on_5 character Name of away on-ice skater 5.
away_on_6 character Name of away on-ice skater 6.
away_on_7 character Name of away on-ice skater 7.
home_goalie character Name of the home goalie on the ice.
away_goalie character Name of the away goalie on the ice.
num_on integer Number of players coming on for a change.
players_on character Names of players coming on for a change.
num_off integer Number of players going off for a change.
players_off character Names of players going off for a change.
game_id integer Unique game identifier.
season character Season (concluding year, YYYY).
season_type character Season type code (PR, R, P, A).
home_abbr character Home team abbreviation.
away_abbr character Away team abbreviation.
event_idx integer Sequential event index within the game.
event_id integer Event identifier.
pptReplayUrl character URL to the play replay, if available.
away_goalie_in integer Whether the away goalie is on the ice (1/0).
home_goalie_in integer Whether the home goalie is on the ice (1/0).
reason character Reason for a stoppage.
secondaryReason character Secondary reason for a stoppage.
ids_on character Player IDs coming on for a change.
ids_off character Player IDs going off for a change.
home_on_1_id integer Player ID of home on-ice skater 1.
away_on_1_id integer Player ID of away on-ice skater 1.
home_on_2_id integer Player ID of home on-ice skater 2.
away_on_2_id integer Player ID of away on-ice skater 2.
home_on_3_id integer Player ID of home on-ice skater 3.
away_on_3_id integer Player ID of away on-ice skater 3.
home_on_4_id integer Player ID of home on-ice skater 4.
away_on_4_id integer Player ID of away on-ice skater 4.
home_on_5_id integer Player ID of home on-ice skater 5.
away_on_5_id integer Player ID of away on-ice skater 5.
home_on_6_id integer Player ID of home on-ice skater 6.
away_on_6_id integer Player ID of away on-ice skater 6.
home_on_7_id integer Player ID of home on-ice skater 7.
away_on_7_id integer Player ID of away on-ice skater 7.
home_goalie_id integer Player ID of the home goalie on the ice.
away_goalie_id integer Player ID of the away goalie on the ice.
xg numeric Expected goals value for the event.

Examples

try(nhl_game_pbp(game_id = 2024020001))
  try(nhl_game_pbp(game_id = 2024020001, raw = TRUE))

NHL Game Shifts

Description

Returns information on game shifts for a given game id

Usage

nhl_game_shifts(game_id)

Arguments

game_id

Game unique ID

Value

A data frame (fastRhockey_data) with one row per shift change and the following columns:

col_name types description
event_team character Team making the line change.
period integer Period number.
period_time character Time in the period of the change (MM:SS).
period_seconds numeric Seconds elapsed in the period.
game_seconds numeric Seconds elapsed in the game.
num_on integer Number of players coming on the ice.
players_on character Names of players coming on the ice.
ids_on character Player IDs coming on the ice.
num_off integer Number of players going off the ice.
players_off character Names of players going off the ice.
ids_off character Player IDs going off the ice.
event character Event label ("Change").
event_type character Event type code ("CHANGE").
game_seconds_remaining numeric Seconds remaining in the game.

Source of truth is the legacy stats-API shiftcharts endpoint (api.nhle.com/stats/rest/en/shiftcharts). When that endpoint returns ⁠{total: 0, data: []}⁠ – which has become common for 2024-25 and 2025-26 regular-season games – we fall back to scraping the legacy HTML TOI reports at ⁠nhl.com/scores/htmlreports/{season}/T{H|V}{gameno}.HTM⁠, which still publish per-shift records for the same games.

Examples

try(nhl_game_shifts(game_id = 2021020182))

NHL Game Story

Description

Returns the game story / recap for a given game ID from the NHL web service.

Usage

nhl_game_story(game_id)

Arguments

game_id

Integer or character game ID (e.g., 2024020001)

Value

A named list with game story data (recap, scoring, penalties, etc.). The tvBroadcasts element is a data frame with the following columns:

tvBroadcasts

col_name types description
id integer Broadcast identifier.
market character Broadcast market (e.g. home/away).
countryCode character Country code of the broadcast.
network character Broadcasting network name.
sequenceNumber integer Order of the broadcast listing.

Examples

try(nhl_game_story(game_id = 2024020001))

NHL Gamecenter Landing

Description

Returns the gamecenter landing page data for a given game, including rosters, linescore, game state, and summary information.

Usage

nhl_gamecenter_landing(game_id)

Arguments

game_id

Integer or character game ID (e.g., 2024020001)

Value

A named list of data frames: tvBroadcasts.

tvBroadcasts

col_name types description
id integer Unique broadcast identifier.
market character Broadcast market (national/local).
countryCode character Country code of the broadcast.
network character Broadcasting network name.
sequenceNumber integer Broadcast sequence order number.

Examples

try(nhl_gamecenter_landing(game_id = 2024020001))

NHL Gamecenter Right Rail

Description

Returns the gamecenter right rail data for a given game, including 3 stars, team leaders, and season series.

Usage

nhl_gamecenter_right_rail(game_id)

Arguments

game_id

Integer or character game ID (e.g., 2024020001)

Value

A named list of data frames: seasonSeries, shotsByPeriod, teamGameStats.

seasonSeries

col_name types description
id integer Unique game identifier.
season integer Season (concluding year, YYYY).
gameType integer Game type the row belongs to.
gameDate character Game date.
startTimeUTC character Game start time in UTC.
easternUTCOffset character Eastern time UTC offset.
venueUTCOffset character Venue local time UTC offset.
gameState character Current game state.
gameScheduleState character Schedule state of the game.
gameCenterLink character Link to the gamecenter page.
awayTeam.id integer Away team unique identifier.
awayTeam.abbrev character Away team abbreviation.
awayTeam.logo character Away team logo URL.
awayTeam.score integer Away team score.
homeTeam.id integer Home team unique identifier.
homeTeam.abbrev character Home team abbreviation.
homeTeam.logo character Home team logo URL.
homeTeam.score integer Home team score.
periodDescriptor.number integer Period number.
periodDescriptor.periodType character Period type (REG/OT/SO).
periodDescriptor.maxRegulationPeriods integer Maximum number of regulation periods.
gameOutcome.lastPeriodType character Period type in which the game ended.

shotsByPeriod

col_name types description
away integer Away team shots in the period.
home integer Home team shots in the period.
periodDescriptor.number integer Period number.
periodDescriptor.periodType character Period type (REG/OT/SO).
periodDescriptor.maxRegulationPeriods integer Maximum number of regulation periods.

teamGameStats

col_name types description
category character Statistic category name.
awayValue character Away team value for the category.
homeValue character Home team value for the category.

Examples

try(nhl_gamecenter_right_rail(game_id = 2024020001))

NHL Goalie Stats Leaders

Description

Returns league-wide goalie statistical leaders for a given season and game type. Supports multiple stat categories.

Usage

nhl_goalie_stats_leaders(
  season = NULL,
  game_type = 2,
  categories = NULL,
  limit = NULL
)

Arguments

season

Integer 4-digit year (e.g., 2024 for the 2024-25 season). If NULL, returns current season leaders.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

categories

Character vector of stat categories (e.g., "wins", "gaa", "savePctg", "shutouts"). If NULL, returns all available categories.

limit

Integer maximum number of leaders per category. If NULL, uses API default.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
sweater_number integer Jersey number.
headshot character Player headshot image URL.
team_abbrev character Team abbreviation.
team_logo character Team logo URL.
position character Player position.
value numeric Statistical value for the category.
first_name_default character Player first name (default locale).
last_name_default character Player last name (default locale).
team_name_default character Team name (default locale).
first_name_cs character Player first name (Czech locale).
first_name_sk character Player first name (Slovak locale).
last_name_cs character Player last name (Czech locale).
last_name_sk character Player last name (Slovak locale).
category character Stat leader category.
last_name_fi character Player last name (Finnish locale).
team_name_fr character Team name (French locale).

Examples

try(nhl_goalie_stats_leaders())

NHL Goalie Summary (Season Range)

Description

Aggregator helper that calls nhl_stats_goalies() with report_type = "summary" for every season in ⁠[start_season, end_season]⁠ and concatenates the results into a single tidy frame. Mirrors the Stats.goalie_stats_summary convenience helper from the nhl-api-py Python client.

Usage

nhl_goalie_summary_range(start_season, end_season, game_type = 2, limit = 50)

Arguments

start_season

Integer four-digit end year of the first season (e.g. 2022 for the 2021-22 season).

end_season

Integer four-digit end year of the final season (inclusive). Must be ⁠>= start_season⁠.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs.

limit

Integer maximum number of rows per season request. Defaults to 50 to match nhl_stats_goalies().

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
assists integer Assists.
games_played integer Games played.
games_started integer Games started.
goalie_full_name character Goalie full name.
goals integer Goals scored.
goals_against integer Goals against.
goals_against_average numeric Goals against average.
last_name character Goalie last name.
losses integer Losses.
ot_losses integer Overtime losses.
penalty_minutes integer Penalty minutes.
player_id integer Unique player identifier.
points integer Total points (goals + assists).
save_pct numeric Save percentage.
saves integer Saves made.
season_id integer Season identifier.
shoots_catches character Shooting/catching hand.
shots_against integer Shots faced.
shutouts integer Shutouts.
team_abbrevs character Team abbreviation(s).
ties logical Ties (legacy; typically NA).
time_on_ice integer Time on ice in seconds.
wins integer Wins.
season character Season the row came from (e.g. 20232024).

Examples

try(nhl_goalie_summary_range(start_season = 2023, end_season = 2024))

NHL Data Loaders Overview

Description

Loaders for season-level NHL datasets published as GitHub releases on sportsdataverse/sportsdataverse-data. Each helper is a thin wrapper around .nhl_release_loader() which validates the requested seasons, builds the per-asset URLs from a ⁠(release_tag, file_prefix)⁠ pair, downloads in parallel (with optional progressr progress + optional DBI::DBIConnection insertion), and tags the result with the fastRhockey_data S3 class. Adding a new dataset is one new row in the catalog table below.

Details

Loader catalog

Function Release tag File prefix
load_nhl_pbp() nhl_pbp_full play_by_play
load_nhl_pbp_lite() nhl_pbp_lite play_by_play_lite
load_nhl_player_box() nhl_player_boxscores player_box
load_nhl_skater_box() nhl_skater_boxscores skater_box
load_nhl_goalie_box() nhl_goalie_boxscores goalie_box
load_nhl_team_box() nhl_team_boxscores team_box
load_nhl_schedule() nhl_schedules nhl_schedule
load_nhl_rosters() nhl_rosters rosters
load_nhl_game_rosters() nhl_game_rosters game_rosters
load_nhl_game_info() nhl_game_info game_info
load_nhl_scoring() nhl_scoring scoring
load_nhl_penalties() nhl_penalties penalties
load_nhl_three_stars() nhl_three_stars three_stars
load_nhl_scratches() nhl_scratches scratches
load_nhl_linescore() nhl_linescore linescore
load_nhl_shifts() nhl_shifts shifts
load_nhl_officials() nhl_officials officials
load_nhl_shots_by_period() nhl_shots_by_period shots_by_period
load_nhl_shootout() nhl_shootout shootout_summary

DB helpers

Function Purpose
update_nhl_db() Idempotent loader → DB writer (delta only)
build_nhl_db() Bulk-build a DB from release files
get_missing_nhl_games() Show games missing from a DB target

NHL Location

Description

Returns country/location configuration data from the NHL API.

Usage

nhl_location()

Value

Returns a list with location data.

Examples

try(nhl_location())

NHL Meta

Description

Returns NHL metadata (players, teams, season states, game types).

Three branches are supported:

  • Both year and series_letter supplied — returns playoff-series metadata via meta/playoff-series/{year}/{seriesLetter}.

  • Only game_id supplied — returns per-game metadata via meta/game/{game_id}.

  • No arguments — returns general league meta via meta.

Usage

nhl_meta(game_id = NULL, year = NULL, series_letter = NULL)

Arguments

game_id

Optional game ID. If provided (and year / series_letter are not), returns metadata for that game.

year

Optional integer playoff year (e.g., 2024). Must be supplied together with series_letter to fetch playoff-series metadata.

series_letter

Optional single-letter playoff series identifier (e.g., "a"). Must be supplied together with year.

Value

Returns a list with NHL metadata.

Examples

try(nhl_meta())
  try(nhl_meta(game_id = 2024020001))
  try(nhl_meta(year = 2024, series_letter = "a"))

NHL Partner Game Odds

Description

Returns partner game odds data for a country code.

Usage

nhl_partner_game_odds(country_code = "US")

Arguments

country_code

Two-letter country code (e.g., "US", "CA"). Default "US".

Value

Returns a list with game odds data.

Examples

try(nhl_partner_game_odds())

NHL Player Career Stats

Description

Aggregator helper that combines biographical information from the NHL player landing endpoint with the player's season-by-season career totals. Returns a single multi-row "career-by-season" data frame. Mirrors the Stats.player_career_stats convenience helper from the nhl-api-py Python client.

Usage

nhl_player_career_stats(player_id)

Arguments

player_id

Integer player ID (e.g. 8478402 for Connor McDavid).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.
assists integer Assists.
game_type_id integer Game type the row belongs to.
games_played integer Games played.
goals integer Goals scored.
league_abbrev character League abbreviation.
pim integer Penalty minutes.
points integer Total points (goals + assists).
season integer Season (concluding year, YYYY).
sequence integer Sequence order of the season row.
game_winning_goals integer Game-winning goals.
plus_minus integer Plus/minus rating.
power_play_goals integer Power play goals.
shorthanded_goals integer Shorthanded goals.
shots integer Shots on goal.
avg_toi character Average time on ice.
faceoff_winning_pctg numeric Faceoff winning percentage.
ot_goals integer Overtime goals.
power_play_points integer Power play points.
shooting_pctg numeric Shooting percentage.
shorthanded_points integer Shorthanded points.
team_name_default character Team name (default locale).
team_name_cs character Team name (Czech locale).
team_name_de character Team name (German locale).
team_name_es character Team name (Spanish locale).
team_name_fi character Team name (Finnish locale).
team_name_sk character Team name (Slovak locale).
team_name_sv character Team name (Swedish locale).
team_name_fr character Team name (French locale).
team_common_name_default character Team common name (default locale).
team_common_name_cs character Team common name (Czech locale).
team_common_name_de character Team common name (German locale).
team_common_name_es character Team common name (Spanish locale).
team_common_name_fi character Team common name (Finnish locale).
team_common_name_sk character Team common name (Slovak locale).
team_common_name_sv character Team common name (Swedish locale).
team_place_name_with_preposition_default character Team place name with preposition.
team_place_name_with_preposition_fr character Team place name with preposition (FR).

Examples

try(nhl_player_career_stats(player_id = 8478402))

NHL Player Game Log

Description

Returns game-by-game stats for an NHL player. Supports both current season and historical season lookups.

Usage

nhl_player_game_log(player_id, season = NULL, game_type = 2)

Arguments

player_id

Integer player ID (e.g., 8478402 for Connor McDavid)

season

Integer 4-digit year (e.g., 2024 for the 2024-25 season). If NULL, returns the current season game log.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
team_abbrev character Player's team abbreviation.
home_road_flag character Home or road indicator.
game_date character Game date.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
plus_minus integer Plus/minus rating.
power_play_goals integer Power play goals.
power_play_points integer Power play points.
game_winning_goals integer Game-winning goals.
ot_goals integer Overtime goals.
shots integer Shots on goal.
shifts integer Number of shifts.
shorthanded_goals integer Shorthanded goals.
shorthanded_points integer Shorthanded points.
pim integer Penalty minutes.
toi character Time on ice.
opponent_abbrev character Opponent team abbreviation.
common_name_default character Player's team common name.
opponent_common_name_default character Opponent team common name.
player_id numeric Unique player identifier.

Examples

try(nhl_player_game_log(player_id = 8478402))

NHL Player Info

Description

Returns biographical and career information for an NHL player. Uses the NHL API (api-web.nhle.com).

Usage

nhl_player_info(player_id)

Arguments

player_id

Integer player ID (e.g., 8476899)

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
full_name character Player full name.
team_abbr character Current team abbreviation.
team_name character Current team name.
sweater_number integer Player sweater (jersey) number.
position character Player position.
shoots_catches character Handedness (shoots or catches).
height_inches integer Player height in inches.
weight_pounds integer Player weight in pounds.
birth_date character Player date of birth.
birth_city character City of birth.
birth_state character State or province of birth.
birth_country character Country of birth.
draft_year integer Year the player was drafted.
draft_round integer Draft round.
draft_pick integer Draft pick within the round.
draft_overall integer Overall draft selection number.
draft_team_abbr character Abbreviation of the drafting team.
is_active logical Whether the player is currently active.
headshot_url character URL of the player headshot image.

Examples

try(nhl_player_info(player_id = 8476899))

NHL Player Spotlight

Description

Returns the current NHL player spotlight — featured players highlighted by the league.

Usage

nhl_player_spotlight()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
player_slug character URL slug for the player.
position character Player position.
sweater_number integer Player sweater (jersey) number.
team_id integer Unique team identifier.
headshot character URL of the player headshot image.
team_tri_code character Three-letter team code.
team_logo character URL of the team logo image.
sort_id integer Sort order identifier for the spotlight.
name_default character Player name (default localization).
name_cs character Player name (Czech localization).
name_fi character Player name (Finnish localization).
name_sk character Player name (Slovak localization).

Examples

try(nhl_player_spotlight())

NHL Player Stats

Description

Returns season-by-season stats for a given player ID. Uses the new NHL API player landing endpoint (api-web.nhle.com).

Note: The original statsapi.web.nhl.com endpoint has been retired. This function now returns the seasonTotals data from the player landing page, which includes year-by-year stats across all leagues (NHL, AHL, junior, etc.).

Usage

nhl_player_stats(player_id)

Arguments

player_id

Player unique ID (e.g., 8476899)

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_type_id integer Game type identifier (2 regular, 3 playoffs).
games_played integer Games played in the season.
goals_against_avg numeric Goalie goals-against average.
league_abbrev character League abbreviation.
save_pctg numeric Goalie save percentage.
season integer Season (concluding year, YYYY).
sequence integer Sequence order of the season row.
team_name_default character Team name (default localization).
goals_against integer Goals against.
losses integer Losses.
shutouts integer Shutouts.
ties integer Ties.
time_on_ice character Time on ice.
wins integer Wins.
shots_against integer Shots faced.
team_name_cs character Team name (Czech localization).
team_name_de character Team name (German localization).
team_name_es character Team name (Spanish localization).
team_name_fi character Team name (Finnish localization).
team_name_sk character Team name (Slovak localization).
team_name_sv character Team name (Swedish localization).
team_common_name_default character Team common name (default localization).
team_common_name_cs character Team common name (Czech localization).
team_common_name_de character Team common name (German localization).
team_common_name_es character Team common name (Spanish localization).
team_common_name_fi character Team common name (Finnish localization).
team_common_name_sk character Team common name (Slovak localization).
team_common_name_sv character Team common name (Swedish localization).
team_place_name_with_preposition_default character Team place name with preposition (default).
ot_losses integer Overtime losses.
assists integer Assists.
games_started integer Games started (goalies).
goals integer Goals scored.
pim integer Penalty minutes.
team_name_fr character Team name (French localization).
team_place_name_with_preposition_fr character Team place name with preposition (French).
team_common_name_fr character Team common name (French localization).
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.

Examples

try(nhl_player_stats(player_id = 8476899))

NHL Playoff Bracket

Description

Returns the complete playoff bracket for a given year.

Usage

nhl_playoff_bracket(year)

Arguments

year

Integer 4-digit year (e.g., 2024 for the 2024 playoffs).

Value

A named list of data frames: series.

series

col_name types description
seriesUrl character Relative URL of the series page.
seriesTitle character Full title of the series.
seriesAbbrev character Abbreviated series title.
seriesLetter character Series letter identifier.
playoffRound integer Playoff round number.
topSeedRank integer Seed rank of the top-seeded team.
topSeedRankAbbrev character Abbreviated seed rank of the top-seeded team.
topSeedWins integer Series wins by the top-seeded team.
bottomSeedRank integer Seed rank of the bottom-seeded team.
bottomSeedRankAbbrev character Abbreviated seed rank of the bottom-seeded team.
bottomSeedWins integer Series wins by the bottom-seeded team.
winningTeamId integer Unique identifier of the series-winning team.
losingTeamId integer Unique identifier of the series-losing team.
seriesLogo character URL of the series logo image.
seriesLogoFr character URL of the series logo image (French).
conferenceAbbrev character Conference abbreviation.
conferenceName character Conference name.
topSeedTeam.id integer Top-seeded team unique identifier.
topSeedTeam.abbrev character Top-seeded team abbreviation.
topSeedTeam.logo character Top-seeded team logo URL.
topSeedTeam.darkLogo character Top-seeded team dark logo URL.
topSeedTeam.name.default character Top-seeded team name (default localization).
topSeedTeam.name.fr character Top-seeded team name (French localization).
topSeedTeam.commonName.default character Top-seeded team common name (default).
topSeedTeam.placeNameWithPreposition.default character Top-seeded team place name with preposition.
topSeedTeam.placeNameWithPreposition.fr character Top-seeded team place name with preposition (FR).
bottomSeedTeam.id integer Bottom-seeded team unique identifier.
bottomSeedTeam.abbrev character Bottom-seeded team abbreviation.
bottomSeedTeam.logo character Bottom-seeded team logo URL.
bottomSeedTeam.darkLogo character Bottom-seeded team dark logo URL.
bottomSeedTeam.name.default character Bottom-seeded team name (default localization).
bottomSeedTeam.name.fr character Bottom-seeded team name (French localization).
bottomSeedTeam.commonName.default character Bottom-seeded team common name (default).
bottomSeedTeam.placeNameWithPreposition.default character Bottom-seeded team place name with preposition.
bottomSeedTeam.placeNameWithPreposition.fr character Bottom-seeded team place name with preposition (FR).

Examples

try(nhl_playoff_bracket(year = 2024))

NHL Playoff Schedule

Description

Returns the playoff schedule for a specific round/series.

Usage

nhl_playoff_schedule(season, series_letter)

Arguments

season

Integer 4-digit year (e.g., 2024 for the 2024-25 season).

series_letter

Character series letter (e.g., "a", "b", "c", "d").

Value

A named list of data frames: games.

games

col_name types description
id integer Unique game identifier.
season integer Season (concluding year, YYYY).
gameType integer Game type identifier (3 for playoffs).
gameNumber integer Game number within the series.
ifNecessary logical Whether the game is played only if necessary.
neutralSite logical Whether the game is at a neutral site.
startTimeUTC character Scheduled start time in UTC.
easternUTCOffset character UTC offset for US Eastern time.
venueUTCOffset character UTC offset at the venue.
venueTimezone character Time zone of the venue.
gameState character Current game state.
gameScheduleState character Schedule state of the game.
tvBroadcasts list Nested list of TV broadcast details.
gameCenterLink character Relative link to the game center page.
venue.default character Venue name (default localization).
awayTeam.id integer Away team unique identifier.
awayTeam.abbrev character Away team abbreviation.
awayTeam.score integer Away team score.
awayTeam.commonName.default character Away team common name (default localization).
awayTeam.commonName.fr character Away team common name (French localization).
awayTeam.placeName.default character Away team place name (default localization).
awayTeam.placeNameWithPreposition.default character Away team place name with preposition (default).
awayTeam.placeNameWithPreposition.fr character Away team place name with preposition (French).
homeTeam.id integer Home team unique identifier.
homeTeam.abbrev character Home team abbreviation.
homeTeam.score integer Home team score.
homeTeam.commonName.default character Home team common name (default localization).
homeTeam.commonName.fr character Home team common name (French localization).
homeTeam.placeName.default character Home team place name (default localization).
homeTeam.placeNameWithPreposition.default character Home team place name with preposition (default).
homeTeam.placeNameWithPreposition.fr character Home team place name with preposition (French).
periodDescriptor.number integer Period number for the game state.
periodDescriptor.periodType character Period type (e.g., REG, OT).
periodDescriptor.maxRegulationPeriods integer Maximum number of regulation periods.
seriesStatus.topSeedWins integer Series wins by the top-seeded team.
seriesStatus.bottomSeedWins integer Series wins by the bottom-seeded team.
gameOutcome.lastPeriodType character Period type in which the game ended.
gameOutcome.otPeriods integer Number of overtime periods played.

Examples

try(nhl_playoff_schedule(season = 2024, series_letter = "a"))

NHL Postal Lookup

Description

Returns broadcast region / geo-lookup information for a given postal (or ZIP) code from the NHL web service endpoint postal-lookup/{postalCode}. Used internally by NHL.com to determine local broadcast rights.

Usage

nhl_postal_lookup(postal_code)

Arguments

postal_code

Character. Postal or ZIP code to look up (e.g., "10001" for New York City).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
stateProvince character State or province for the postal code.
networkType character Broadcast network type for the region.
county character County for the postal code.
postalCode character Postal or ZIP code looked up.
country character Country for the postal code.
city character City for the postal code.
teamName.default character Local broadcast team name (default).
teamName.fr character Local broadcast team name (French).

Examples

try(nhl_postal_lookup(postal_code = "10001"))

NHL PPT Replay

Description

Returns event-level play-by-play replay metadata (including video clip references) for a specific event in a given NHL game from the ppt-replay/{gameId}/{eventNumber} endpoint.

Usage

nhl_ppt_replay(game_id, event_number)

Arguments

game_id

Integer or character game ID (e.g., 2023020001).

event_number

Integer event / play number within the game.

Value

Returns a list with event replay metadata (clip IDs, video URLs, event context).

Examples

try(nhl_ppt_replay(game_id = 2023020001, event_number = 1))

NHL PPT Replay (Goal)

Description

Returns goal-specific play-by-play replay metadata (including video clip references) for a goal event in a given NHL game from the ppt-replay/goal/{gameId}/{eventNumber} endpoint.

Usage

nhl_ppt_replay_goal(game_id, event_number)

Arguments

game_id

Integer or character game ID (e.g., 2023020001).

event_number

Integer event / play number within the game that corresponds to a goal.

Value

Returns a list with goal replay metadata (clip IDs, video URLs, scoring context).

Examples

try(nhl_ppt_replay_goal(game_id = 2023020001, event_number = 1))

NHL Records API Endpoint Overview

Description

Wrappers around the NHL Records backend at records.nhl.com/site/api/.... These cover all 442 documented record-keeping endpoints (franchises, players, draft, trophies, awards, attendance, venues, officials, combine). All 25 wrappers route through .nhl_records_api() in helpers_nhl_records.R which standardizes the cayenneExp filtering, sort + limit + start pagination, and the ⁠{data: [...], total: N}⁠ tabular response shape.

Details

Franchise

Function Endpoint family Purpose
nhl_records_franchise() franchise Franchise listing
nhl_records_franchise_detail() franchise-detail Franchise details
nhl_records_franchise_totals() franchise-team-totals All-time team totals
nhl_records_franchise_team_totals() franchise-team-totals Team totals (alt)
nhl_records_franchise_season_results() franchise-season-results Per-season results
nhl_records_franchise_playoff_appearances() franchise-playoff-appearances Playoff appearances

Player

Function Endpoint family Purpose
nhl_records_player() player Players listing
nhl_records_player_byteam() player Players filtered by team
nhl_records_player_stats() player-stats Player stats
nhl_records_skater_real_time_stats_career() skater-real-time-stats/career Career real-time skater stats
nhl_records_skater_real_time_stats_season() skater-real-time-stats/season Season real-time skater stats
nhl_records_goalie_career_stats() goalie-career-stats Career goalie stats
nhl_records_goalie_season_stats() goalie-season-stats Season goalie stats
nhl_records_goalie_shutout_streak() goalie-shutout-streak Goalie shutout-streak records

Draft

Function Endpoint family Purpose
nhl_records_draft() draft Draft listing
nhl_records_draft_lottery_odds() draft-lottery-odds Lottery odds
nhl_records_draft_lottery_picks() draft-lottery-picks Lottery pick results
nhl_records_draft_prospect() draft-prospect Draft-eligible prospects
nhl_records_combine() draft-combine Draft combine measurements

Honors and miscellany

Function Endpoint family Purpose
nhl_records_trophy() trophy Trophy listing
nhl_records_award_details() trophy/{id} Trophy / award winners
nhl_records_hof_players() hof-player Hall of Fame
nhl_records_officials() officials On-ice officials
nhl_records_attendance() attendance Attendance records
nhl_records_venue() venue Arena / venue listing

NHL Records - Season Attendance

Description

Returns historical NHL season attendance from the NHL Records API (⁠https://records.nhl.com/site/api/attendance⁠).

Usage

nhl_records_attendance(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique attendance record identifier.
playoff_attendance integer Total playoff attendance.
regular_attendance integer Total regular-season attendance.
season_id integer 8-digit season identifier.
total_attendance integer Total attendance for the season.

Examples

try(nhl_records_attendance())

NHL Records - Award Details

Description

Returns detailed NHL award winners from the NHL Records API (⁠https://records.nhl.com/site/api/award-details⁠). The endpoint accepts a Cayenne filter on seasonId (other paths such as franchiseId and award-details/{id} return errors).

Usage

nhl_records_award_details(season_id = NULL, cayenne_exp = NULL)

Arguments

season_id

Optional integer 8-digit season ID (e.g., 20232024). When supplied, becomes the cayenne filter seasonId={season_id}. Ignored when cayenne_exp is also supplied.

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique award detail identifier.
awarded_posthumously logical Whether the award was given posthumously.
coach_id integer Coach identifier, if a coach award.
created_on character Timestamp the record was created.
detail_summary logical Detail summary flag.
full_name character Full name of the award winner.
general_manager_id integer General manager identifier, if applicable.
image_url character URL to the award image.
is_rookie logical Whether the winner was a rookie.
player_id integer Unique player identifier.
player_image_caption logical Player image caption flag.
player_image_url character URL to the player image.
season_id integer 8-digit season identifier.
status character Award status.
summary character Award summary text.
team_id integer Unique team identifier.
trophy_category_id integer Trophy category identifier.
trophy_id integer Trophy identifier.
value integer Award value or statistical measure.
vote_count integer Number of votes received.

Examples

try(nhl_records_award_details())
  try(nhl_records_award_details(season_id = 20232024))

NHL Records - Draft Combine Measurements

Description

Returns NHL Scouting Combine measurements from the NHL Records API (⁠https://records.nhl.com/site/api/combine⁠).

Usage

nhl_records_combine(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique combine record identifier.
amateur_club_name character Amateur club the player played for.
amateur_league character Amateur league the player played in.
draft_year integer Draft year for the player.
event character Combine measurement event name.
first_name character Player first name.
last_name character Player last name.
player_id integer Unique player identifier.
position_code character Player position code.
value numeric Measured value for the combine event.

Examples

try(nhl_records_combine())

NHL Records - Draft Listing

Description

Returns the NHL Entry Draft listing from the NHL Records API (⁠https://records.nhl.com/site/api/draft⁠). Supports Cayenne filtering and pagination.

Usage

nhl_records_draft(cayenne_exp = NULL, limit = NULL, start = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string (e.g. "draftYear=2015").

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique draft record identifier.
age_in_days integer Player age in days.
age_in_days_for_year integer Player age in days for the draft year.
age_in_years integer Player age in years.
amateur_club_name character Amateur club the player played for.
amateur_league character Amateur league the player played in.
birth_date character Player birth date.
birth_place character Player birth place.
country_code character Player country code.
cs_player_id integer Central Scouting player identifier.
draft_date character Date the player was drafted.
draft_master_id integer Draft master record identifier.
draft_year integer Year of the draft.
drafted_by_team_id integer Identifier of the drafting team.
first_name character Player first name.
height integer Player height in inches.
last_name character Player last name.
notes logical Notes flag for the pick.
overall_pick_number integer Overall pick number in the draft.
pick_in_round integer Pick number within the round.
player_id integer Unique player identifier.
player_name character Player full name.
position character Player position.
removed_outright character Removed-outright indicator.
removed_outright_why logical Reason the pick was removed outright.
round_number integer Draft round number.
shoots_catches character Player shooting/catching hand.
supplemental_draft character Supplemental draft indicator.
team_pick_history character History of the team's pick.
tri_code character Three-letter team code.
weight integer Player weight in pounds.

Examples

try(nhl_records_draft(cayenne_exp = "draftYear=2020", limit = 5))

NHL Records - Draft Lottery Odds

Description

Returns NHL draft lottery odds from the NHL Records API (⁠https://records.nhl.com/site/api/draft-lottery-odds⁠).

Usage

nhl_records_draft_lottery_odds(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique lottery odds record identifier.
draft_year integer Draft year the odds apply to.
format_content character Description of the lottery format.
odds_content character Description of the lottery odds.
result_notes character Notes on the lottery results.

Examples

try(nhl_records_draft_lottery_odds())

NHL Records - Draft Lottery Picks

Description

Returns historical NHL draft lottery picks/results from the NHL Records API (⁠https://records.nhl.com/site/api/draft-lottery-picks⁠).

Usage

nhl_records_draft_lottery_picks(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique lottery pick record identifier.
draft_team_id integer Team identifier holding the resulting pick.
draft_year integer Draft year the lottery applies to.
effect_on_draft_order character Description of the lottery's effect on order.
lottery_team_id integer Team identifier participating in the lottery.
phase character Lottery phase identifier.
player_id integer Unique player identifier of the pick.
player_notes character Notes about the selected player.
sequence integer Lottery sequence/draw order.

Examples

try(nhl_records_draft_lottery_picks())

NHL Records - Draft Prospect Listing

Description

Returns the draft prospect listing from the NHL Records API (⁠https://records.nhl.com/site/api/draft-prospect⁠). Optionally filter to a single prospect via prospect_id (switches resource to draft-prospect/{prospect_id}).

Usage

nhl_records_draft_prospect(prospect_id = NULL, cayenne_exp = NULL)

Arguments

prospect_id

Optional integer prospect ID. If supplied, the resource becomes draft-prospect/{prospect_id}.

cayenne_exp

Optional Cayenne filter expression string. Ignored when prospect_id is supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique prospect record identifier.
birth_city character Prospect birth city.
birth_country3code character Prospect birth country three-letter code.
birth_date character Prospect date of birth.
birth_state_prov_code character Prospect birth state/province code.
category_id integer Prospect category identifier.
created_on character Record creation timestamp.
cs_player_id integer Central Scouting player identifier.
draft_status_code character Draft eligibility status code.
ep_player_id integer EliteProspects player identifier.
first_name character Prospect first name.
headshot_id integer Headshot image identifier.
height integer Prospect height (inches).
hometown character Prospect hometown.
last_club_name character Most recent club name.
last_league_abbr character Most recent league abbreviation.
last_name character Prospect last name.
nationality_code character Prospect nationality code.
news_articles character Associated news articles.
playerid integer Unique player identifier.
position_desc character Player position description.
profile character Prospect profile text.
quotes character Quotes about the prospect.
scouting_report character Scouting report text.
shoots_catches character Shooting/catching handedness.
stats_text character Statistical summary text.
video character Associated video content.
weight integer Prospect weight (pounds).

Examples

try(nhl_records_draft_prospect())

NHL Records - Franchise Listing

Description

Returns the franchise listing from the NHL Records API (⁠https://records.nhl.com/site/api/franchise⁠). Optionally filter to a single franchise via franchise_id, which is translated into the Cayenne filter id={franchise_id} (the records API does not accept a path-suffix franchise/{id} form — it returns 404).

Usage

nhl_records_franchise(franchise_id = NULL, lang = "en")

Arguments

franchise_id

Optional integer franchise ID.

lang

Character language code. Default "en". Currently unused server-side but reserved for future use.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique franchise identifier.
first_season_id integer Season identifier of the first season.
full_name character Full franchise name.
last_season_id integer Season identifier of the last season.
most_recent_team_id integer Most recent team identifier.
team_abbrev character Team abbreviation.
team_common_name character Team common (nickname) name.
team_place_name character Team place (location) name.

Examples

try(nhl_records_franchise())
  try(nhl_records_franchise(franchise_id = 5))

NHL Records - Franchise Detail

Description

Returns detailed franchise metadata from the NHL Records API (⁠https://records.nhl.com/site/api/franchise-detail⁠). Optionally filter by franchise ID or a cayenneExp expression.

Usage

nhl_records_franchise_detail(franchise_id = NULL, cayenne_exp = NULL)

Arguments

franchise_id

Optional integer franchise ID. When supplied it is translated into a cayenneExp=mostRecentTeamId={franchise_id} filter unless cayenne_exp is already provided.

cayenne_exp

Optional Cayenne filter expression string. Takes precedence over franchise_id when both are supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique franchise detail identifier.
active logical Whether the franchise is active.
captain_history character Franchise captain history text.
coaching_history character Franchise coaching history text.
date_awarded character Date the franchise was awarded.
directory_url character Franchise directory URL.
first_season_id integer Season identifier of the first season.
general_manager_history character Franchise general manager history text.
hero_image_url character Franchise hero image URL.
most_recent_team_id integer Most recent team identifier.
retired_numbers_summary character Summary of retired jersey numbers.
team_abbrev character Team abbreviation.
team_full_name character Full team name.

Examples

try(nhl_records_franchise_detail())

NHL Records - Franchise Playoff Appearances

Description

Returns franchise playoff appearance counts from the NHL Records API (⁠https://records.nhl.com/site/api/franchise-playoff-appearances⁠).

Usage

nhl_records_franchise_playoff_appearances(
  franchise_id = NULL,
  cayenne_exp = NULL
)

Arguments

franchise_id

Optional integer franchise ID. When supplied it is translated into a cayenneExp=franchiseId={franchise_id} filter unless cayenne_exp is already provided.

cayenne_exp

Optional Cayenne filter expression string. Takes precedence over franchise_id when both are supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
first_season_id integer Season identifier of the first season.
franchise_id integer Unique franchise identifier.
franchise_name character Franchise name.
playoff_seasons integer Number of seasons reaching the playoffs.
stanley_cup_appearances integer Number of Stanley Cup Final appearances.
stanley_cup_wins integer Number of Stanley Cup championships.
years integer Number of years the franchise existed.

Examples

try(nhl_records_franchise_playoff_appearances())

NHL Records - Franchise Season Results

Description

Returns franchise season-by-season results from the NHL Records API (⁠https://records.nhl.com/site/api/franchise-season-results⁠).

Usage

nhl_records_franchise_season_results(franchise_id = NULL, cayenne_exp = NULL)

Arguments

franchise_id

Optional integer franchise ID. When supplied it is translated into a cayenneExp=franchiseId={franchise_id} filter unless cayenne_exp is already provided.

cayenne_exp

Optional Cayenne filter expression string. Takes precedence over franchise_id when both are supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique season result record identifier.
conference_abbrev character Conference abbreviation.
conference_name character Conference name.
conference_sequence integer Conference standings position.
decision character Series/season decision indicator.
division_abbrev character Division abbreviation.
division_name character Division name.
division_sequence integer Division standings position.
final_playoff_round integer Final playoff round reached.
franchise_id integer Unique franchise identifier.
game_type_id integer Game type identifier (regular/playoffs).
games_played integer Games played in the season.
goals integer Goals scored.
goals_against integer Goals against.
home_losses integer Losses at home.
home_overtime_losses integer Overtime losses at home.
home_ties integer Ties at home.
home_wins integer Wins at home.
in_playoffs logical Whether the season reached the playoffs.
league_sequence integer League standings position.
losses integer Total losses.
overtime_losses integer Total overtime losses.
penalty_minutes integer Penalty minutes.
playoff_round integer Playoff round identifier.
points integer Standings points earned.
road_losses integer Losses on the road.
road_overtime_losses integer Overtime losses on the road.
road_ties integer Ties on the road.
road_wins integer Wins on the road.
season_id integer Season identifier.
series_abbrev character Playoff series abbreviation.
series_title character Playoff series title.
shutouts integer Shutouts recorded.
team_id integer Unique team identifier.
team_name character Team name.
ties integer Total ties.
tri_code character Team three-letter code.
wins integer Total wins.

Examples

try(nhl_records_franchise_season_results())

NHL Records - Franchise Team Totals

Description

Returns per-team-name totals from the NHL Records API (⁠https://records.nhl.com/site/api/franchise-team-totals⁠). Useful for relocated franchises where multiple team names map to one franchise.

Usage

nhl_records_franchise_team_totals(franchise_id = NULL, cayenne_exp = NULL)

Arguments

franchise_id

Optional integer franchise ID. When supplied it is translated into a cayenneExp=franchiseId={franchise_id} filter unless cayenne_exp is already provided.

cayenne_exp

Optional Cayenne filter expression string. Takes precedence over franchise_id when both are supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_franchise integer Indicator of whether the franchise is active.
active_team logical Indicator of whether the team is active.
cups integer Number of Stanley Cup championships.
first_season_id integer Season ID of the team's first season.
franchise_id integer Unique franchise identifier.
game_type_id integer Game type the totals belong to.
game_win_pctg numeric Game-winning percentage.
games_played integer Total games played.
goals_against integer Goals against.
goals_for integer Goals for.
home_losses integer Losses at home.
home_overtime_losses integer Overtime losses at home.
home_ties integer Ties at home.
home_wins integer Wins at home.
last_season_id integer Season ID of the team's last season.
losses integer Total losses.
overtime_losses integer Total overtime losses.
penalty_minutes integer Penalty minutes.
playoff_seasons integer Number of playoff seasons.
point_pctg numeric Points percentage.
points integer Total standings points.
road_losses integer Losses on the road.
road_overtime_losses integer Overtime losses on the road.
road_ties integer Ties on the road.
road_wins integer Wins on the road.
series_losses integer Playoff series losses.
series_played integer Playoff series played.
series_win_pctg numeric Playoff series win percentage.
series_wins integer Playoff series wins.
shootout_losses integer Shootout losses.
shootout_wins integer Shootout wins.
shutouts integer Shutouts recorded.
team_id integer Unique team identifier.
team_name character Team name.
ties integer Total ties.
tri_code character Team three-letter code.
wins integer Total wins.

Examples

try(nhl_records_franchise_team_totals())

NHL Records - Franchise Totals

Description

Returns all-time franchise totals from the NHL Records API (⁠https://records.nhl.com/site/api/franchise-totals⁠). Optionally filter by franchise ID or a cayenneExp expression.

Usage

nhl_records_franchise_totals(franchise_id = NULL, cayenne_exp = NULL)

Arguments

franchise_id

Optional integer franchise ID. When supplied it is translated into a cayenneExp=franchiseId={franchise_id} filter unless cayenne_exp is already provided.

cayenne_exp

Optional Cayenne filter expression string. Takes precedence over franchise_id when both are supplied.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_franchise integer Indicator of whether the franchise is active.
cups integer Number of Stanley Cup championships.
first_season_id integer Season ID of the franchise's first season.
franchise_id integer Unique franchise identifier.
game_type_id integer Game type the totals belong to.
game_win_pctg numeric Game-winning percentage.
games_played integer Total games played.
goals_against integer Goals against.
goals_for integer Goals for.
home_losses integer Losses at home.
home_overtime_losses integer Overtime losses at home.
home_ties integer Ties at home.
home_wins integer Wins at home.
last_season_id integer Season ID of the franchise's last season.
losses integer Total losses.
overtime_losses integer Total overtime losses.
penalty_minutes integer Penalty minutes.
playoff_seasons integer Number of playoff seasons.
point_pctg numeric Points percentage.
points integer Total standings points.
road_losses integer Losses on the road.
road_overtime_losses integer Overtime losses on the road.
road_ties integer Ties on the road.
road_wins integer Wins on the road.
series_losses integer Playoff series losses.
series_played integer Playoff series played.
series_win_pctg numeric Playoff series win percentage.
series_wins integer Playoff series wins.
shootout_losses integer Shootout losses.
shootout_wins integer Shootout wins.
shutouts integer Shutouts recorded.
team_abbrev character Team abbreviation.
team_id integer Unique team identifier.
team_name character Team name.
ties integer Total ties.
wins integer Total wins.

Examples

try(nhl_records_franchise_totals())

NHL Records - Goalie Career Stats

Description

Returns career goalie statistics from the NHL Records API (⁠https://records.nhl.com/site/api/goalie-career-stats⁠).

Usage

nhl_records_goalie_career_stats(cayenne_exp = NULL, limit = NULL, start = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string (e.g. "playerId=8471679").

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_player logical Indicator of whether the player is active.
first_name character Player first name.
first_season_for_game_type integer First season ID for the game type.
franchise_id integer Unique franchise identifier.
game_seven_games_played logical Game seven games played.
game_seven_losses logical Game seven losses.
game_seven_wins logical Game seven wins.
game_type_id integer Game type the totals belong to.
games_played integer Total games played.
goals_against integer Goals against.
goals_against_average numeric Goals against average.
last_name character Player last name.
last_season_for_game_type integer Last season ID for the game type.
losses integer Total losses.
overtime_games_played integer Overtime games played.
overtime_goals_against integer Overtime goals against.
overtime_goals_against_average logical Overtime goals against average.
overtime_losses logical Overtime losses.
overtime_save_pctg numeric Overtime save percentage.
overtime_shots_against integer Overtime shots against.
overtime_ties integer Overtime ties.
overtime_time_on_ice integer Overtime time on ice (seconds).
overtime_wins integer Overtime wins.
player_id integer Unique player identifier.
position_code character Player position code.
save_pctg numeric Save percentage.
saves integer Saves made.
seasons_played integer Number of seasons played.
shots_against integer Shots faced.
shutouts integer Shutouts recorded.
team_abbrevs character Team abbreviations.
team_names character Team names.
ties integer Total ties.
time_on_ice integer Total time on ice (seconds).
time_on_ice_min_sec character Total time on ice (MM:SS).
wins integer Total wins.

Examples

try(nhl_records_goalie_career_stats(limit = 5))

NHL Records - Goalie Season Stats

Description

Returns season-by-season goalie statistics from the NHL Records API (⁠https://records.nhl.com/site/api/goalie-season-stats⁠).

Usage

nhl_records_goalie_season_stats(cayenne_exp = NULL, limit = NULL, start = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_player logical Indicator of whether the player is active.
first_name character Player first name.
franchise_id integer Unique franchise identifier.
game_seven_games_played logical Game seven games played.
game_seven_losses logical Game seven losses.
game_seven_wins logical Game seven wins.
game_type integer Game type the totals belong to.
games_played integer Total games played.
games_started integer Games started.
goals_against integer Goals against.
goals_against_average numeric Goals against average.
last_name character Player last name.
losses integer Total losses.
number_of_games_in_season integer Number of games in the season.
overtime_games_played integer Overtime games played.
overtime_goals_against integer Overtime goals against.
overtime_losses logical Overtime losses.
overtime_ties integer Overtime ties.
overtime_wins integer Overtime wins.
player_id integer Unique player identifier.
position_code character Player position code.
rookie_flag logical Indicator of whether the player was a rookie.
save_pctg numeric Save percentage.
saves integer Saves made.
season_id integer Season identifier.
shots_against integer Shots faced.
shutouts integer Shutouts recorded.
team_abbrevs character Team abbreviations.
team_names character Team names.
ties integer Total ties.
time_on_ice integer Total time on ice (seconds).
time_on_ice_min_sec character Total time on ice (MM:SS).
wins integer Total wins.

Examples

try(nhl_records_goalie_season_stats(limit = 5))

NHL Records - Goalie Shutout Streaks

Description

Returns goalie shutout streak records from the NHL Records API (⁠https://records.nhl.com/site/api/goalie-shutout-streak⁠).

Usage

nhl_records_goalie_shutout_streak(
  cayenne_exp = NULL,
  limit = NULL,
  start = NULL
)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_player logical Indicator of whether the player is active.
active_streak logical Indicator of whether the streak is active.
duration_min_sec character Streak duration (MM:SS).
duration_seconds integer Streak duration in seconds.
end_date character Date the streak ended.
first_name character Player first name.
franchise_id integer Unique franchise identifier.
game_type_id integer Game type the streak belongs to.
last_name character Player last name.
player_id integer Unique player identifier.
saves logical Saves made during the streak.
season_id integer Season identifier.
start_date character Date the streak started.
team_abbrev character Team abbreviation.
team_id integer Unique team identifier.
team_name character Team name.

Examples

try(nhl_records_goalie_shutout_streak(limit = 5))

NHL Records - Hall of Fame Players

Description

Returns Hall of Fame inductees from the NHL Records API (⁠https://records.nhl.com/site/api/hof/players⁠). Optionally filter by office ID (switches resource to hof/players/{office_id}).

Usage

nhl_records_hof_players(office_id = NULL)

Arguments

office_id

Optional integer office/category ID. If supplied, the resource becomes hof/players/{office_id}.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
date_inducted character Date the inductee entered the Hall of Fame.
induction_cat_id integer Induction category identifier.
misc_full_name character Full name of the inductee.
office_id integer Office/category identifier.
official_id logical Official identifier.
player_id integer Unique player identifier.

Examples

try(nhl_records_hof_players())

NHL Records - On-Ice Officials

Description

Returns NHL on-ice official listings from the NHL Records API (⁠https://records.nhl.com/site/api/officials⁠). Optionally filter by type (e.g. "referee", "linesman"), which switches the resource to officials/{type}.

Usage

nhl_records_officials(type = NULL)

Arguments

type

Optional character official type. If supplied, the resource becomes officials/{type}.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique official record identifier.
active logical Whether the official is currently active.
association_url character URL to the official's association profile.
birth_city character Birth city of the official.
birth_date character Birth date of the official.
coach_id integer Associated coach identifier, if any.
country_code character Country code of the official.
deceased logical Whether the official is deceased.
deceased_date character Date of death, if applicable.
first_name character First name of the official.
first_playoff_game_id integer Game ID of the official's first playoff game.
first_regular_game_id integer Game ID of the official's first regular game.
general_manager_id logical Associated general manager identifier.
headshot_url character URL to the official's headshot image.
last_name character Last name of the official.
nationality_code character Nationality code of the official.
official_type character Type of official (e.g. referee, linesman).
officials_schema_id integer Officials schema identifier.
player_id integer Associated player identifier, if any.
referree_association_id integer Referee association identifier.
state_province_code character State or province code of the official.
sweater_number integer Sweater number worn by the official.
thumb_url character URL to the official's thumbnail image.

Examples

try(nhl_records_officials())

NHL Records - Player Listing

Description

Returns the player listing from the NHL Records API (⁠https://records.nhl.com/site/api/player⁠). Optionally filter to a single player via player_id (switches resource to player/{player_id}) or pass an arbitrary Cayenne expression.

Usage

nhl_records_player(player_id = NULL, cayenne_exp = NULL)

Arguments

player_id

Optional integer player ID. If supplied, the resource becomes player/{player_id}.

cayenne_exp

Optional Cayenne filter expression string. Ignored when player_id is supplied (single-player endpoint).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
accrued_seasons integer Number of accrued NHL seasons.
add_names character Additional names for the player.
age_sign_waiver integer Age at which the player signed a waiver.
age_signel_fa integer Age at which the player signed as a free agent.
alert character Alert flag or note.
birth_city character Birth city of the player.
birth_country character Birth country of the player.
birth_date character Birth date of the player.
birth_state_province character Birth state or province of the player.
career_team_id integer Primary career team identifier.
central_registry_position character Position per the central registry.
club_elec_arb character Club election to arbitration indicator.
current_team_id integer Current team identifier.
date_of_death character Date of death, if applicable.
dda_id integer DDA identifier.
deceased logical Whether the player is deceased.
ep_player_id integer EliteProspects player identifier.
fa_group_after_season logical Free agent group after the season.
first_name character First name of the player.
first_signed_by_team_id integer Team that first signed the player.
free_agent_group character Free agent group classification.
full_name character Full name of the player.
group5election character Group 5 free agency election indicator.
group5seasons_earned integer Group 5 seasons earned.
group6proration logical Group 6 proration indicator.
group6seasons_earned integer Group 6 seasons earned.
groups_earned_thru_season integer Season through which groups were earned.
height integer Player height in inches.
hof_induction_year integer Hockey Hall of Fame induction year.
home_town character Home town of the player.
iihf_hof_induction_year integer IIHF Hall of Fame induction year.
in_hockey_hof logical Whether the player is in the Hockey Hall of Fame.
in_iihf_hof integer Whether the player is in the IIHF Hall of Fame.
in_top100alltime logical Whether the player is in the all-time top 100.
in_us_hockey_hof logical Whether the player is in the US Hockey Hall of Fame.
is_defected character Whether the player defected.
is_deleted character Whether the record is deleted.
is_junior character Whether the player is a junior.
is_retired logical Whether the player is retired.
is_rookie character Whether the player is a rookie.
is_suspended character Whether the player is suspended.
last_amateur_league_id integer Last amateur league identifier.
last_amateur_team_id integer Last amateur team identifier.
last_nhl_team_id integer Last NHL team identifier.
last_name character Last name of the player.
loan_cap_exception character Loan cap exception indicator.
long_term_injury character Long-term injury indicator.
message character Status message.
middle_name character Middle name of the player.
nationality character Nationality of the player.
nhl_experience integer Years of NHL experience.
on_roster character Whether the player is on a roster.
platform_year integer Platform year for contract purposes.
position character Player position.
pr_name character Public relations display name.
pr_stat integer Public relations status code.
pro_year_reduction integer Professional year reduction.
reentry_waivers character Re-entry waivers indicator.
roster_special_code character Roster special status code.
salary_arbitration_exp integer Salary arbitration experience.
shoots_catches character Handedness (shoots or catches).
sweater_number integer Sweater number worn by the player.
update_timestamp character Timestamp of the last record update.
us_hof_induction_year integer US Hockey Hall of Fame induction year.
vet_cap_excptn character Veteran cap exception indicator.
waiver_amount integer Waiver amount.
waiver_draft character Waiver draft indicator.
waiver_status character Waiver status.
weight integer Player weight in pounds.
years_pro integer Number of professional years played.

Examples

try(nhl_records_player())

NHL Records - Players by Team

Description

Returns every player who has suited up for a given team via the NHL Records API (⁠https://records.nhl.com/site/api/player/byTeam/{team_id}⁠).

Usage

nhl_records_player_byteam(team_id, cayenne_exp = NULL)

Arguments

team_id

Integer team ID (required).

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
accrued_seasons integer Number of accrued NHL seasons.
add_names logical Additional names for the player.
age_sign_waiver integer Age at which the player signed a waiver.
age_signel_fa integer Age at which the player signed as a free agent.
alert character Alert flag or note.
birth_city character Birth city of the player.
birth_country character Birth country of the player.
birth_date character Birth date of the player.
birth_state_province character Birth state or province of the player.
career_team_id logical Primary career team identifier.
central_registry_position character Position per the central registry.
club_elec_arb character Club election to arbitration indicator.
current_team_id integer Current team identifier.
date_of_death logical Date of death, if applicable.
dda_id integer DDA identifier.
deceased logical Whether the player is deceased.
ep_player_id integer EliteProspects player identifier.
fa_group_after_season logical Free agent group after the season.
first_name character First name of the player.
first_signed_by_team_id integer Team that first signed the player.
free_agent_group character Free agent group classification.
full_name character Full name of the player.
group5election character Group 5 free agency election indicator.
group5seasons_earned integer Group 5 seasons earned.
group6proration logical Group 6 proration indicator.
group6seasons_earned integer Group 6 seasons earned.
groups_earned_thru_season integer Season through which groups were earned.
height integer Player height in inches.
hof_induction_year logical Hockey Hall of Fame induction year.
home_town character Home town of the player.
iihf_hof_induction_year logical IIHF Hall of Fame induction year.
in_hockey_hof logical Whether the player is in the Hockey Hall of Fame.
in_iihf_hof integer Whether the player is in the IIHF Hall of Fame.
in_top100alltime logical Whether the player is in the all-time top 100.
in_us_hockey_hof logical Whether the player is in the US Hockey Hall of Fame.
is_defected character Whether the player defected.
is_deleted character Whether the record is deleted.
is_junior character Whether the player is a junior.
is_retired logical Whether the player is retired.
is_rookie character Whether the player is a rookie.
is_suspended character Whether the player is suspended.
last_amateur_league_id integer Last amateur league identifier.
last_amateur_team_id integer Last amateur team identifier.
last_nhl_team_id integer Last NHL team identifier.
last_name character Last name of the player.
loan_cap_exception character Loan cap exception indicator.
long_term_injury character Long-term injury indicator.
message character Status message.
middle_name character Middle name of the player.
nationality character Nationality of the player.
nhl_experience integer Years of NHL experience.
on_roster character Whether the player is on a roster.
platform_year integer Platform year for contract purposes.
position character Player position.
pr_name character Public relations display name.
pr_stat integer Public relations status code.
pro_year_reduction integer Professional year reduction.
reentry_waivers character Re-entry waivers indicator.
roster_special_code logical Roster special status code.
salary_arbitration_exp integer Salary arbitration experience.
shoots_catches character Handedness (shoots or catches).
sweater_number integer Sweater number worn by the player.
update_timestamp character Timestamp of the last record update.
us_hof_induction_year logical US Hockey Hall of Fame induction year.
vet_cap_excptn character Veteran cap exception indicator.
waiver_amount integer Waiver amount.
waiver_draft character Waiver draft indicator.
waiver_status character Waiver status.
weight integer Player weight in pounds.
years_pro integer Number of professional years played.

Examples

try(nhl_records_player_byteam(team_id = 10))

NHL Records - Player Career Stats

Description

Returns career player stats from the NHL Records API (⁠https://records.nhl.com/site/api/player-stats⁠). Supports Cayenne filtering and pagination.

Usage

nhl_records_player_stats(cayenne_exp = NULL, limit = NULL, start = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string (e.g. "playerId=8478402").

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A fastRhockey_data tibble of player career stats, or NULL on failure.

Examples

try(nhl_records_player_stats(cayenne_exp = "playerId=8478402"))

NHL Records - Skater Real-Time Stats Career

Description

Returns career skater real-time stats (hits, giveaways, takeaways, blocks, faceoffs, time on ice) from the NHL Records API (⁠https://records.nhl.com/site/api/skater-real-time-stats-career⁠).

Usage

nhl_records_skater_real_time_stats_career(
  cayenne_exp = NULL,
  limit = NULL,
  start = NULL
)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_player logical Whether the player is currently active.
blocked_shots integer Career blocked shots.
faceoff_win_pctg logical Career faceoff win percentage.
faceoffs_lost integer Career faceoffs lost.
faceoffs_taken integer Career faceoffs taken.
faceoffs_won integer Career faceoffs won.
first_name character First name of the player.
first_season_for_game_type integer First season for the game type.
franchise_id integer Franchise identifier.
game_type_id integer Game type identifier (regular/playoffs).
games_played integer Career games played.
giveaways integer Career giveaways.
hits integer Career hits.
last_name character Last name of the player.
last_season_for_game_type integer Last season for the game type.
missed_shots integer Career missed shots.
player_id integer Unique player identifier.
position_code character Player position code.
seasons_played integer Number of seasons played.
shifts integer Career shifts.
takeaways integer Career takeaways.
team_abbrevs character Team abbreviations the player suited up for.
time_on_ice integer Career time on ice.

Examples

try(nhl_records_skater_real_time_stats_career(limit = 5))

NHL Records - Skater Real-Time Stats by Season

Description

Returns season-by-season skater real-time stats (hits, giveaways, takeaways, blocks, faceoffs, time on ice) from the NHL Records API (⁠https://records.nhl.com/site/api/skater-real-time-stats-season⁠).

Usage

nhl_records_skater_real_time_stats_season(
  cayenne_exp = NULL,
  limit = NULL,
  start = NULL
)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

limit

Optional integer page size.

start

Optional integer pagination offset.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique record identifier.
active_player logical Whether the player is currently active.
blocked_shots integer Blocked shots in the season.
faceoff_win_pctg logical Faceoff win percentage for the season.
faceoffs_lost integer Faceoffs lost in the season.
faceoffs_taken integer Faceoffs taken in the season.
faceoffs_won integer Faceoffs won in the season.
first_name character First name of the player.
franchise_id integer Franchise identifier.
game_type_id integer Game type identifier (regular/playoffs).
games_in_schedule integer Games in the schedule.
games_played integer Games played in the season.
giveaways integer Giveaways in the season.
hits integer Hits in the season.
last_name character Last name of the player.
missed_shots integer Missed shots in the season.
player_id integer Unique player identifier.
position_code character Player position code.
rookie_flag logical Whether the season was a rookie season.
season_id integer Season identifier.
shifts integer Shifts in the season.
takeaways integer Takeaways in the season.
team_abbrevs character Team abbreviations for the season.
team_names character Team names for the season.
time_on_ice integer Time on ice in the season.

Examples

try(nhl_records_skater_real_time_stats_season(limit = 5))

NHL Records - Trophy Listing

Description

Returns the NHL trophy listing from the NHL Records API (⁠https://records.nhl.com/site/api/trophy⁠).

Usage

nhl_records_trophy(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique trophy identifier.
brief_description character Brief description of the trophy.
category_id integer Trophy category identifier.
created_on character Date the trophy record was created.
description character Full description of the trophy.
footnote logical Footnote associated with the trophy.
home_page_url character URL to the trophy's home page.
image_url character URL to the trophy's image.
name character Full name of the trophy.
short_name character Short name of the trophy.

Examples

try(nhl_records_trophy())

NHL Records - Venue Listing

Description

Returns the NHL arena/venue listing from the NHL Records API (⁠https://records.nhl.com/site/api/venue⁠).

Usage

nhl_records_venue(cayenne_exp = NULL)

Arguments

cayenne_exp

Optional Cayenne filter expression string.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique venue record identifier.
building_id integer Building identifier for the venue.
city character City where the venue is located.
country_code character Country code of the venue.
outdoor logical Whether the venue is an outdoor rink.
postal_code character Postal code of the venue.
short_country_code character Short country code of the venue.
state_province_code character State or province code of the venue.
venue_id integer Unique venue identifier.
venue_name character Name of the venue.

Examples

try(nhl_records_venue())

NHL Roster Season

Description

Returns the list of seasons for which roster data is available for a given team.

Usage

nhl_roster_season(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
season integer Season for which roster data is available (8-digit, e.g. 20102011).
team_abbr character Three-letter team abbreviation.

Examples

try(nhl_roster_season(team_abbr = "TOR"))

NHL Schedule

Description

Returns NHL schedule data for a given day or season. Uses the NHL API (api-web.nhle.com).

Usage

nhl_schedule(
  day = NULL,
  season = NULL,
  team_abbr = NULL,
  include_data_flags = FALSE,
  game_type = c("both", "regular", "playoffs")
)

Arguments

day

Character date in "YYYY-MM-DD" format. If provided, returns games for that specific day.

season

Integer four-digit year for the end year of the season (e.g., 2026 for the 2025-26 season), matching most_recent_nhl_season(). If provided instead of day, returns the full season schedule.

team_abbr

Character three-letter team abbreviation (e.g., "TOR"). Required when season is used. If NULL, loops through all teams.

include_data_flags

Logical (default FALSE). When TRUE, after building the live schedule the result is left-joined against the pre-compiled nhl_games_in_data_repo index from sportsdataverse-data to add per-game data-availability flags (PBP, team_box, player_box, skater_box, goalie_box, game_info, game_rosters, scoring, penalties, scratches, linescore, three_stars, shifts, officials, shots_by_period, shootout). Games not yet compiled get FALSE. This requires a network call to the data repo and adds a small delay.

game_type

Character, one of "both" (default), "regular", or "playoffs". Applies only in season mode; silently ignored when day is supplied. Default "both" returns regular-season and playoff games for the requested season in a single tibble.

Value

A data frame (fastRhockey_data) with the following columns. When include_data_flags = TRUE it additionally carries one logical column per pre-compiled dataset.

col_name types description
game_id integer Unique game identifier.
season_full character Full 8-digit season identifier.
game_type character Game type code (PR/R/P/A).
game_date character Game date.
game_time character Scheduled game start time (UTC).
home_team_abbr character Home team abbreviation.
away_team_abbr character Away team abbreviation.
home_team_name character Home team name.
away_team_name character Away team name.
home_score integer Home team final score.
away_score integer Away team final score.
game_state character Current state of the game.
venue character Name of the venue.

Examples

try(nhl_schedule(day = "2024-01-15"))
  try(nhl_schedule(season = 2025, team_abbr = "TOR"))
  try(nhl_schedule(season = 2024, team_abbr = "TOR", game_type = "playoffs"))
  try(nhl_schedule(day = "2024-01-15", include_data_flags = TRUE))

NHL Schedule Calendar

Description

Returns the schedule calendar showing which dates have games.

Usage

nhl_schedule_calendar(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current.

Value

A named list of data frames: teams.

teams

col_name types description
id integer Unique team identifier.
seasonId integer Season identifier (8-digit).
abbrev character Team abbreviation.
logo character URL of the team logo.
darkLogo character URL of the team dark-mode logo.
french logical Whether the team uses French naming.
commonName.default character Team common name (default language).
commonName.fr character Team common name (French).
name.default character Team name (default language).
name.fr character Team name (French).
placeNameWithPreposition.default character Place name with preposition (default).
placeNameWithPreposition.fr character Place name with preposition (French).
placeName.default character Place name (default language).
placeName.fr character Place name (French).

Examples

try(nhl_schedule_calendar())

NHL Scoreboard

Description

Returns the current league-wide scoreboard with today's games, or — when date is supplied — the scoreboard for a specific date.

Usage

nhl_scoreboard(date = NULL)

Arguments

date

Optional character string in "YYYY-MM-DD" format. When NULL (default) the function hits scoreboard/now; when a date is provided it hits scoreboard/{date}.

Value

A named list of data frames: gamesByDate.

gamesByDate

col_name types description
date character Date for which the games are listed.
games list Nested list of games scheduled on the date.

Examples

try(nhl_scoreboard())
  try(nhl_scoreboard(date = "2024-01-15"))

NHL Scores

Description

Returns scores for all games on a given date.

Usage

nhl_scores(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current scores.

Value

Returns a data frame with game scores.

Examples

try(nhl_scores())

NHL Seasons

Description

Returns a list of all NHL seasons with their metadata.

Usage

nhl_seasons()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
season_id integer Season identifier (e.g., 20232024).

Examples

try(nhl_seasons())

NHL Skater Stats Leaders

Description

Returns league-wide skater statistical leaders for a given season and game type. Supports multiple stat categories.

Usage

nhl_skater_stats_leaders(
  season = NULL,
  game_type = 2,
  categories = NULL,
  limit = NULL
)

Arguments

season

Integer 4-digit year (e.g., 2024 for the 2024-25 season). If NULL, returns current season leaders.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

categories

Character vector of stat categories (e.g., "goals", "assists", "points", "plusMinus", "penaltyMins"). If NULL, returns all available categories.

limit

Integer maximum number of leaders per category. If NULL, uses API default.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
sweater_number integer Jersey number.
headshot character URL to the player headshot image.
team_abbrev character Team abbreviation.
team_logo character URL to the team logo image.
position character Player position.
value numeric Statistical value for the category.
first_name_default character Player first name (default).
last_name_default character Player last name (default).
team_name_default character Team name (default).
category character Stat leader category.
first_name_cs character Player first name (Czech).
first_name_de character Player first name (German).
first_name_es character Player first name (Spanish).
first_name_fi character Player first name (Finnish).
first_name_sk character Player first name (Slovak).
first_name_sv character Player first name (Swedish).
last_name_cs character Player last name (Czech).
last_name_sk character Player last name (Slovak).
last_name_fi character Player last name (Finnish).
team_name_fr character Team name (French).

Examples

try(nhl_skater_stats_leaders())

NHL Skater Summary (Season Range)

Description

Aggregator helper that calls nhl_stats_skaters() with report_type = "summary" for every season in ⁠[start_season, end_season]⁠ and concatenates the results into a single tidy frame. Mirrors the Stats.skater_stats_summary convenience helper from the nhl-api-py Python client.

Usage

nhl_skater_summary_range(start_season, end_season, game_type = 2, limit = 50)

Arguments

start_season

Integer four-digit end year of the first season (e.g. 2022 for the 2021-22 season).

end_season

Integer four-digit end year of the final season (inclusive). Must be ⁠>= start_season⁠.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs.

limit

Integer maximum number of rows per season request. Defaults to 50 to match nhl_stats_skaters().

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
assists integer Assists.
ev_goals integer Even-strength goals.
ev_points integer Even-strength points.
faceoff_win_pct numeric Faceoff win percentage.
game_winning_goals integer Game-winning goals.
games_played integer Games played.
goals integer Goals scored.
last_name character Player last name.
ot_goals integer Overtime goals.
penalty_minutes integer Penalty minutes.
player_id integer Unique player identifier.
plus_minus integer Plus/minus rating.
points integer Total points (goals + assists).
points_per_game numeric Points per game.
position_code character Player position code.
pp_goals integer Power-play goals.
pp_points integer Power-play points.
season_id integer Season identifier.
sh_goals integer Short-handed goals.
sh_points integer Short-handed points.
shooting_pct numeric Shooting percentage.
shoots_catches character Handedness (shoots/catches).
shots integer Shots on goal.
skater_full_name character Player full name.
team_abbrevs character Team abbreviation(s).
time_on_ice_per_game numeric Average time on ice per game.
season character Season the row came from (e.g., "20232024").

Returns NULL on outer failure.

Examples

try(nhl_skater_summary_range(start_season = 2023, end_season = 2024))

NHL Standings

Description

Returns current or historical NHL standings. Uses the new NHL API (api-web.nhle.com).

Usage

nhl_standings(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current standings.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbr character Team abbreviation.
team_name character Team name.
team_common_name character Team common name.
team_logo character URL to the team logo image.
conference_name character Conference name.
division_abbrev character Division abbreviation.
division_name character Division name.
place_name character Place (city) name.
conference_sequence integer Rank within the conference.
division_sequence integer Rank within the division.
league_sequence integer Rank within the league.
wildcard_sequence integer Wildcard standing rank.
games_played integer Games played.
wins integer Wins.
losses integer Losses.
ot_losses integer Overtime losses.
points integer Standings points.
point_pctg numeric Points percentage.
regulation_wins integer Regulation wins.
regulation_plus_ot_wins integer Regulation plus overtime wins.
goals_for integer Goals scored for.
goals_against integer Goals allowed against.
goal_differential integer Goal differential.
home_wins integer Home wins.
home_losses integer Home losses.
home_ot_losses integer Home overtime losses.
road_wins integer Road wins.
road_losses integer Road losses.
road_ot_losses integer Road overtime losses.
l10_wins integer Wins in last 10 games.
l10_losses integer Losses in last 10 games.
l10_ot_losses integer Overtime losses in last 10 games.
streak_code character Current streak code (W/L/OT).
streak_count integer Length of current streak.
shootout_wins integer Shootout wins.
shootout_losses integer Shootout losses.

Examples

try(nhl_standings())
  try(nhl_standings(date = "2024-03-01"))

NHL Standings Season List

Description

Returns the list of seasons for which standings data is available.

Usage

nhl_standings_season()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Season identifier (e.g., 20232024).
conferences_in_use logical Whether conferences were in use that season.
divisions_in_use logical Whether divisions were in use that season.
point_for_o_tloss_in_use logical Whether a point for overtime losses was in use.
regulation_wins_in_use logical Whether regulation wins were tracked.
row_in_use logical Whether regulation/overtime wins (ROW) were in use.
standings_end character End date of the standings period.
standings_start character Start date of the standings period.
ties_in_use logical Whether ties were in use that season.
wildcard_in_use logical Whether wildcard standings were in use.

Examples

try(nhl_standings_season())

NHL Stats API — Config

Description

Returns the Stats REST API configuration payload (⁠https://api.nhle.com/stats/rest/{lang}/config⁠). This endpoint is non-tabular: the raw parsed list is returned as-is rather than wrapped in a fastRhockey_data tibble.

Usage

nhl_stats_config(lang = "en")

Arguments

lang

Character language code. Default "en".

Value

A parsed list of configuration values, or NULL on failure.

Examples

try(nhl_stats_config())

NHL Stats API — Content Module

Description

Returns an NHL.com CMS content module from the Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/content/module/{template_key}⁠).

Usage

nhl_stats_content_module(template_key, lang = "en")

Arguments

template_key

Character (required). The content module template key (NHL.com internal identifier).

lang

Character language code. Default "en".

Value

A fastRhockey_data tibble of content module rows, or NULL on failure.

Examples

try(nhl_stats_content_module(template_key = "example"))

NHL Stats API — Country Lookup

Description

Returns the country lookup list from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/country⁠). Used for player nationality mapping.

Usage

nhl_stats_country(lang = "en")

Arguments

lang

Character language code. Default "en".

Value

A fastRhockey_data tibble of countries, or NULL on failure.

Examples

try(nhl_stats_country())

NHL Stats API — Draft Summaries

Description

Queries the NHL Stats REST API for draft-year summaries (draft year and number of rounds). Optionally filter to a specific draft year via draft_year.

Usage

nhl_stats_draft(draft_year = NULL, limit = 100, start = 0, lang = "en")

Arguments

draft_year

Integer draft year (e.g., 2024). If NULL, returns all draft years (1963-present).

limit

Integer maximum number of results. Default 100.

start

Integer start index for pagination. Default 0.

lang

Character language code. Default "en".

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique draft summary identifier.
draft_year integer Draft year.
rounds integer Number of rounds in the draft.

Examples

try(nhl_stats_draft())
  try(nhl_stats_draft(draft_year = 2024))

NHL Stats API — Franchise Listing

Description

Returns the franchise listing from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/franchise⁠). Parallels the nhl-api-py Teams.franchises() helper.

Usage

nhl_stats_franchise(lang = "en", limit = 100, start = 0, cayenne_exp = NULL)

Arguments

lang

Character language code. Default "en".

limit

Integer maximum number of results. Default 100.

start

Integer pagination start index. Default 0.

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter (e.g., "id=1").

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique franchise identifier.
full_name character Full franchise name.
team_common_name character Team common (nickname) name.
team_place_name character Team place (city/location) name.

Examples

try(nhl_stats_franchise())

NHL Stats API — Game Listing

Description

Returns the game listing from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/game⁠). Supports server-side filtering via a Cayenne expression.

Usage

nhl_stats_game_listing(lang = "en", limit = 100, start = 0, cayenne_exp = NULL)

Arguments

lang

Character language code. Default "en".

limit

Integer maximum number of results. Default 100.

start

Integer pagination start index. Default 0.

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter (e.g., "season=20242025").

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique game identifier.
eastern_start_time character Game start time in Eastern time.
game_date character Game date.
game_number integer Game number within the schedule.
game_schedule_state_id integer Schedule state identifier.
game_state_id integer Game state identifier.
game_type integer Game type identifier.
home_score integer Home team score.
home_team_id integer Home team identifier.
period integer Period reached in the game.
season integer Season (concluding year, YYYY).
visiting_score integer Visiting team score.
visiting_team_id integer Visiting team identifier.

Examples

try(nhl_stats_game_listing())

NHL Stats API — Glossary

Description

Returns the glossary of stat definitions from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/glossary⁠). Useful to look up what a given abbreviation or statistic (e.g., PIM) means.

Usage

nhl_stats_glossary(lang = "en")

Arguments

lang

Character language code. Default "en".

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique glossary entry identifier.
abbreviation character Statistic abbreviation.
definition character Definition of the statistic.
first_season_for_stat integer First season the stat was tracked.
full_name character Full name of the statistic.
language_code character Language code of the entry.
last_updated character Timestamp the entry was last updated.

Examples

try(nhl_stats_glossary())

NHL Stats API — Goalie Leaders

Description

Returns a goalie leaderboard for a given statistic attribute from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/leaders/goalies/{attribute}⁠).

Usage

nhl_stats_goalie_leaders(attribute, lang = "en", cayenne_exp = NULL)

Arguments

attribute

Character (required). The stat attribute to rank by. Known valid values: "savePctg", "gaa", "shutouts". Note that "wins", "saves", "shotsAgainst", and "goalsAgainst" return 500 errors. The endpoint also does not accept start / limit query parameters — passing them produces a 500.

lang

Character language code. Default "en".

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter (e.g., "seasonId=20242025").

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
save_pctg numeric Save percentage.
player_id integer Unique player identifier.
player_current_team_id integer Player's current team identifier.
player_first_name character Player first name.
player_full_name character Player full name.
player_last_name character Player last name.
player_position_code character Player position code.
player_sweater_number integer Player jersey number.
team_id integer Unique team identifier.
team_franchise_id integer Team franchise identifier.
team_full_name character Full team name.
team_league_id integer League identifier.
team_logos list Team logo assets.
team_raw_tricode character Raw team tri-code.
team_tri_code character Team tri-code abbreviation.

Examples

try(nhl_stats_goalie_leaders(attribute = "savePctg"))

NHL Stats API — Goalie Milestones

Description

Returns goalie milestone achievements from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/milestones/goalies⁠).

Usage

nhl_stats_goalie_milestones(
  lang = "en",
  cayenne_exp = NULL,
  limit = 100,
  start = 0
)

Arguments

lang

Character language code. Default "en".

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter.

limit

Integer maximum number of results. Default 100.

start

Integer pagination start index. Default 0.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique milestone record identifier.
current_team_id integer Player's current team identifier.
first_name character Player first name.
game_type_id integer Game type identifier.
games_played integer Games played.
last_name character Player last name.
milestone character Milestone category.
milestone_amount integer Amount remaining to reach the milestone.
player_full_name character Player full name.
player_id integer Unique player identifier.
so integer Shutouts.
team_abbrev character Team abbreviation.
team_common_name character Team common (nickname) name.
team_full_name character Full team name.
team_place_name character Team place (city/location) name.
toi_minutes integer Time on ice in minutes.
wins integer Wins.

Examples

try(nhl_stats_goalie_milestones())

NHL Stats API — Goalie Stats

Description

Queries the NHL Stats REST API for goalie statistics.

Usage

nhl_stats_goalies(
  report_type = "summary",
  season = NULL,
  game_type = 2,
  limit = 50,
  start = 0,
  sort = NULL,
  direction = "DESC",
  lang = "en"
)

Arguments

report_type

Character report type. Default "summary". Common types: "summary", "bios", "advanced", "daysrest", "penaltyShots", "savesByStrength", "shootout", "startedVsRelieved"

season

Character season in "YYYYYYYY" format (e.g., "20242025"). If NULL, uses current season.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

limit

Integer maximum number of results. Default 50.

start

Integer start index for pagination. Default 0.

sort

Character sort column. Default varies by report.

direction

Character sort direction: "DESC" or "ASC". Default "DESC".

lang

Character language code. Default "en".

Value

Returns a data frame with goalie statistics.

Examples

try(nhl_stats_goalies())

NHL Stats API — Miscellaneous Endpoints

Description

Generic dispatcher for the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/{endpoint}⁠). Pass any valid endpoint name as endpoint and the helper will issue the request and return the parsed data element as a data.frame. For non-tabular endpoints, the raw parsed list is returned instead.

Usage

nhl_stats_misc(endpoint = "glossary", game_id = NULL, lang = "en")

Arguments

endpoint

Character endpoint path. Known valid values include:

  • Tabular: "franchise", "glossary", "country", "config", "players", "team", "game", "componentSeason", "milestones/skaters", "milestones/goalies", "leaders/skaters/{attribute}", "leaders/goalies/{attribute}"

  • Reference / lookup: "gameType", "shiftcharts" (use the dedicated game_id argument for this one), "content/module/{templateKey}", "team/id/{id}"

  • Health check: "ping"

Note: dedicated wrappers exist for season, draft, skater/{report}, goalie/{report}, and team/{report} — see nhl_stats_seasons(), nhl_stats_draft(), nhl_stats_skaters(), nhl_stats_goalies(), and nhl_stats_teams().

game_id

Optional game ID (required for endpoint = "shiftcharts").

lang

Character language code. Default "en".

Value

A data frame (fastRhockey_data) for tabular endpoints, or the raw parsed list for non-tabular ones. For the default "glossary" endpoint the columns are:

col_name types description
id integer Unique glossary entry identifier.
abbreviation character Stat abbreviation.
definition character Definition of the stat or term.
first_season_for_stat integer First season the stat was tracked (YYYYYYYY).
full_name character Full name of the stat or term.
language_code character Language code of the entry.
last_updated character Timestamp the entry was last updated.

Examples

try(nhl_stats_misc(endpoint = "glossary"))
  try(nhl_stats_misc(endpoint = "franchise"))
  try(nhl_stats_misc(endpoint = "country"))

NHL Stats API — Ping

Description

Health-check endpoint for the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/ping⁠). This endpoint is non-tabular and is not language-scoped: the raw parsed payload is returned as-is rather than wrapped in a fastRhockey_data tibble.

Usage

nhl_stats_ping()

Value

A parsed list with the health-check payload, or NULL on failure.

Examples

try(nhl_stats_ping())

NHL Stats API — Players Listing

Description

Returns the player listing from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/players⁠). This is a full player roster dump; use cayenne_exp to filter (e.g., "playerId=8478402").

Usage

nhl_stats_players(lang = "en", limit = 100, start = 0, cayenne_exp = NULL)

Arguments

lang

Character language code. Default "en".

limit

Integer maximum number of results. Default 100.

start

Integer pagination start index. Default 0.

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter.

Value

A fastRhockey_data tibble of players, or NULL on failure.

Examples

try(nhl_stats_players())

NHL Stats REST API Endpoint Overview

Description

Wrappers around the NHL Stats REST backend at api.nhle.com/stats/rest/{lang}/.... These cover the documented Cayenne-filterable endpoints for skater / goalie / team stats, draft stats, franchise + player listings, glossary, country, config, leaders, and milestones. Most pages use the consistent ⁠{data: [...], total: N}⁠ shape and accept cayenneExp, sort, limit, start query parameters.

Details

Skater / goalie / team stats

Function Endpoint Purpose
nhl_stats_skaters() skater/summary Skater season stats
nhl_stats_goalies() goalie/summary Goalie season stats
nhl_stats_teams() team/summary Team season stats
nhl_stats_misc() miscellaneousSkaterStats Misc skater stats + draft + season list
nhl_stats_skater_leaders() leaders/skaters/{attribute} Skater leaderboards by attribute
nhl_stats_goalie_leaders() leaders/goalies/{attribute} Goalie leaderboards by attribute
nhl_stats_skater_milestones() skater/milestones Skater milestone achievements
nhl_stats_goalie_milestones() goalie/milestones Goalie milestone achievements

Franchise / player listings

Function Endpoint Purpose
nhl_stats_franchise() franchise Franchise listing
nhl_stats_players() players Players listing (requires cayenne_exp)
nhl_stats_team_listing() team Top-level team listing
nhl_stats_game_listing() game Top-level game listing

Metadata helpers

Function Endpoint Purpose
nhl_stats_glossary() glossary Stat-definition glossary
nhl_stats_country() country Country lookup
nhl_stats_config() config Configuration payload
nhl_stats_ping() ping Health check
nhl_stats_content_module() (NHL CMS) NHL.com content modules

Notes

  • The ⁠leaders/{skaters,goalies}/{attribute}⁠ endpoint does not accept start / limit query parameters (returns 500 if you pass them).

  • Valid goalie leader attributes are restricted to savePctg, gaa, and shutouts.


NHL Stats API — Seasons List

Description

Returns a list of all seasons from the Stats REST API.

Usage

nhl_stats_seasons(lang = "en")

Arguments

lang

Character language code. Default "en".

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Season identifier (YYYYYYYY).
all_star_game_in_use integer Whether an All-Star Game was held this season.
conferences_in_use integer Whether conferences were in use this season.
divisions_in_use integer Whether divisions were in use this season.
end_date character Season end date.
entry_draft_in_use integer Whether an entry draft was in use this season.
formatted_season_id character Human-readable season string (e.g. "2023-24").
minimum_playoff_minutes_for_goalie_stats_leaders integer Minimum playoff minutes to qualify for goalie stats leaders.
minimum_regular_games_for_goalie_stats_leaders integer Minimum regular-season games to qualify for goalie stats leaders.
nhl_stanley_cup_owner integer Whether the NHL owned the Stanley Cup this season.
number_of_games integer Number of games per team this season.
olympics_participation integer Whether NHL players participated in the Olympics this season.
point_for_ot_loss_in_use integer Whether the overtime-loss point was in use this season.
preseason_startdate character Preseason start date.
regular_season_end_date character Regular-season end date.
row_in_use integer Whether the regulation/overtime/shootout format was in use.
season_ordinal integer Ordinal sequence number of the season.
start_date character Season start date.
supplemental_draft_in_use integer Whether a supplemental draft was in use this season.
ties_in_use integer Whether ties were in use this season.
total_playoff_games integer Total number of playoff games this season.
total_regular_season_games integer Total number of regular-season games this season.
wildcard_in_use integer Whether the wild-card playoff format was in use this season.

Examples

try(nhl_stats_seasons())

NHL Stats API — Skater Leaders

Description

Returns a skater leaderboard for a given statistic attribute from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/leaders/skaters/{attribute}⁠). Distinct from the api-web skater-stats-leaders endpoint.

Usage

nhl_stats_skater_leaders(attribute, lang = "en", cayenne_exp = NULL)

Arguments

attribute

Character (required). The stat attribute to rank by. Known valid values include "points", "goals", "assists". Note that this endpoint does not accept start / limit query parameters — passing them produces a 500. Use cayenne_exp to filter.

lang

Character language code. Default "en".

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter (e.g., "seasonId=20242025").

Value

A data frame (fastRhockey_data) of skater leaders, or NULL on failure. When ranking by "assists" the columns are:

col_name types description
assists integer Assists (the ranked attribute).
player_id integer Unique player identifier.
player_current_team_id logical Player's current team identifier.
player_first_name character Player first name.
player_full_name character Player full name.
player_last_name character Player last name.
player_position_code character Player position code.
player_sweater_number integer Player jersey number.
team_id integer Unique team identifier.
team_franchise_id integer Team franchise identifier.
team_full_name character Team full name.
team_league_id integer League identifier of the team.
team_logos list Team logo metadata.
team_raw_tricode character Team raw three-letter code.
team_tri_code character Team three-letter code.

Examples

try(nhl_stats_skater_leaders(attribute = "assists"))

NHL Stats API — Skater Milestones

Description

Returns skater milestone achievements from the NHL Stats REST API (⁠https://api.nhle.com/stats/rest/{lang}/milestones/skaters⁠).

Usage

nhl_stats_skater_milestones(
  lang = "en",
  cayenne_exp = NULL,
  limit = 100,
  start = 0
)

Arguments

lang

Character language code. Default "en".

cayenne_exp

Optional Cayenne filter expression string passed via the cayenneExp query parameter.

limit

Integer maximum number of results. Default 100.

start

Integer pagination start index. Default 0.

Value

A data frame (fastRhockey_data) of skater milestones, or NULL on failure, with the following columns:

col_name types description
id integer Unique milestone record identifier.
assists integer Assists.
current_team_id integer Player's current team identifier.
first_name character Player first name.
game_type_id integer Game type identifier (regular season / playoffs).
games_played integer Games played.
goals integer Goals scored.
last_name character Player last name.
milestone character Milestone category.
milestone_amount integer Milestone threshold amount.
player_full_name character Player full name.
player_id integer Unique player identifier.
points integer Total points (goals + assists).
team_abbrev character Team abbreviation.
team_common_name character Team common name.
team_full_name character Team full name.
team_place_name character Team place (city) name.

Examples

try(nhl_stats_skater_milestones())

NHL Stats API — Skater Stats

Description

Queries the NHL Stats REST API for skater statistics. Supports various report types and filtering.

Usage

nhl_stats_skaters(
  report_type = "summary",
  season = NULL,
  game_type = 2,
  limit = 50,
  start = 0,
  sort = NULL,
  direction = "DESC",
  lang = "en"
)

Arguments

report_type

Character report type. Default "summary". Common types: "summary", "bios", "faceoffpercentages", "faceoffwins", "goalsForAgainst", "realtime", "penalties", "penaltykill", "powerplay", "puckPossessions", "summaryshooting", "percentages", "scoringRates", "scoringpergame", "shootout", "shottype", "timeonice"

season

Character season in "YYYYYYYY" format (e.g., "20242025"). If NULL, uses current season.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

limit

Integer maximum number of results. Default 50.

start

Integer start index for pagination. Default 0.

sort

Character sort column. Default varies by report.

direction

Character sort direction: "DESC" or "ASC". Default "DESC".

lang

Character language code. Default "en".

Value

Returns a data frame with skater statistics.

Examples

try(nhl_stats_skaters())

NHL Stats API — Team Listing

Description

Returns the top-level team listing from the NHL Stats REST API. When team_id is NULL (default) this hits ⁠https://api.nhle.com/stats/rest/{lang}/team⁠ and returns the full league-wide listing; when team_id is supplied it hits ⁠https://api.nhle.com/stats/rest/{lang}/team/id/{team_id}⁠ and returns a single-team payload. Distinct from nhl_stats_teams(), which hits the per-report stats endpoints.

Usage

nhl_stats_team_listing(team_id = NULL, lang = "en", limit = 100, start = 0)

Arguments

team_id

Optional integer team id. If supplied, the by-id endpoint is used and pagination params are ignored.

lang

Character language code. Default "en".

limit

Integer maximum number of results. Default 100. Ignored when team_id is supplied.

start

Integer pagination start index. Default 0. Ignored when team_id is supplied.

Value

A data frame (fastRhockey_data) of teams, or NULL on failure, with the following columns:

col_name types description
id integer Unique team identifier.
franchise_id integer Team franchise identifier.
full_name character Team full name.
league_id integer League identifier of the team.
raw_tricode character Team raw three-letter code.
tri_code character Team three-letter code.

Examples

try(nhl_stats_team_listing())
  try(nhl_stats_team_listing(team_id = 10))

NHL Stats API — Team Stats

Description

Queries the NHL Stats REST API for team-level statistics.

Usage

nhl_stats_teams(
  report_type = "summary",
  season = NULL,
  game_type = 2,
  limit = 50,
  start = 0,
  sort = "points",
  direction = "DESC",
  lang = "en"
)

Arguments

report_type

Character report type. Default "summary". Common types: "summary", "penalties", "penaltykill", "penaltykilltime", "powerplay", "powerplaytime", "realtime", "faceoffpercentages", "faceoffwins", "goalsForAgainst", "goalsBy Period", "daysrest", "outshootoutshotby", "percentages", "scoretrailfirst", "shootout", "shottype"

season

Character season in "YYYYYYYY" format (e.g., "20242025"). If NULL, uses current season.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

limit

Integer maximum number of results. Default 50.

start

Integer start index for pagination. Default 0.

sort

Character sort column. Default "points".

direction

Character sort direction: "DESC" or "ASC". Default "DESC".

lang

Character language code. Default "en".

Value

Returns a data frame with team statistics.

Examples

try(nhl_stats_teams())

NHL Team Prospects

Description

Returns prospect information for a given team.

Usage

nhl_team_prospects(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique player identifier.
headshot character URL to the prospect's headshot image.
position_code character Player position code.
shoots_catches character Handedness (shoots/catches).
height_in_inches integer Height in inches.
weight_in_pounds integer Weight in pounds.
height_in_centimeters integer Height in centimeters.
weight_in_kilograms integer Weight in kilograms.
birth_date character Player birth date.
birth_country character Player birth country.
sweater_number integer Jersey number.
first_name_default character First name (default localization).
first_name_cs character First name (Czech localization).
first_name_sk character First name (Slovak localization).
last_name_default character Last name (default localization).
last_name_cs character Last name (Czech localization).
last_name_sk character Last name (Slovak localization).
birth_city_default character Birth city (default localization).
birth_city_cs character Birth city (Czech localization).
birth_city_de character Birth city (German localization).
birth_city_fi character Birth city (Finnish localization).
birth_city_fr character Birth city (French localization).
birth_city_sk character Birth city (Slovak localization).
birth_city_sv character Birth city (Swedish localization).
birth_state_province_default character Birth state/province (default localization).
birth_state_province_fr character Birth state/province (French localization).
birth_state_province_sk character Birth state/province (Slovak localization).
birth_state_province_sv character Birth state/province (Swedish localization).
prospect_group character Prospect position group the player belongs to.
team_abbr character Team abbreviation.

Examples

try(nhl_team_prospects(team_abbr = "TOR"))

NHL Team Scoreboard

Description

Returns current scoreboard information for a specific team, including upcoming and recent games.

Usage

nhl_team_scoreboard(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TOR", "BOS")

Value

A named list of data frames: gamesByDate.

gamesByDate

col_name types description
date character Date the games are scheduled for.
games list List of games scheduled on that date.

Examples

try(nhl_team_scoreboard(team_abbr = "TOR"))

NHL Team Summary (Season Range)

Description

Aggregator helper that calls nhl_stats_teams() with report_type = "summary" for every season in ⁠[start_season, end_season]⁠ and concatenates the results into a single tidy frame. Mirrors the Stats.team_summary convenience helper from the nhl-api-py Python client.

Usage

nhl_team_summary_range(start_season, end_season, game_type = 2, limit = 50)

Arguments

start_season

Integer four-digit end year of the first season (e.g. 2022 for the 2021-22 season).

end_season

Integer four-digit end year of the final season (inclusive). Must be ⁠>= start_season⁠.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs.

limit

Integer maximum number of rows per season request. Defaults to 50 to match nhl_stats_teams().

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
faceoff_win_pct numeric Faceoff win percentage.
games_played integer Games played.
goals_against integer Goals against.
goals_against_per_game numeric Goals against per game.
goals_for integer Goals for.
goals_for_per_game numeric Goals for per game.
losses integer Losses.
ot_losses integer Overtime losses.
penalty_kill_net_pct numeric Net penalty kill percentage.
penalty_kill_pct numeric Penalty kill percentage.
point_pct numeric Points percentage.
points integer Total points.
power_play_net_pct numeric Net power play percentage.
power_play_pct numeric Power play percentage.
regulation_and_ot_wins integer Wins in regulation and overtime.
season_id integer Season identifier.
shots_against_per_game numeric Shots against per game.
shots_for_per_game numeric Shots for per game.
team_full_name character Full team name.
team_id integer Unique team identifier.
team_shutouts integer Team shutouts.
ties logical Ties (legacy; typically unused).
wins integer Wins.
wins_in_regulation integer Wins in regulation.
wins_in_shootout integer Wins in shootout.
season character Season the row came from (YYYYYYYY).

Examples

try(nhl_team_summary_range(start_season = 2023, end_season = 2024))

NHL Teams

Description

Returns current NHL team information. Uses the NHL API standings endpoint to get up-to-date team info.

Usage

nhl_teams(season = NULL)

Arguments

season

Integer four-digit year (e.g., 2024). If NULL, returns current teams.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbr character Team abbreviation.
team_name character Team name.
team_common_name character Team common name.
team_logo character URL to the team logo image.
conference_abbr character Conference abbreviation.
conference_name character Conference name.
division_abbr character Division abbreviation.
division_name character Division name.
place_name character Team place/city name.
games_played integer Games played.
wins integer Wins.
losses integer Losses.
ot_losses integer Overtime losses.
points integer Total points.
point_pctg numeric Points percentage.
goals_for integer Goals for.
goals_against integer Goals against.
goal_differential integer Goal differential.
streak_code character Current streak code (W/L/OT).
streak_count integer Length of the current streak.

Examples

try(nhl_teams())

NHL Teams Info

Description

Returns NHL team information for a given team abbreviation. Uses the new NHL API via nhl_teams.

Breaking change: The old team_id (integer) parameter has been replaced by team_abbr (3-letter string, e.g., "TBL") because the new NHL API no longer exposes numeric team IDs as a primary identifier.

Usage

nhl_teams_info(team_abbr)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TBL", "TOR", "SEA")

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_abbr character Team abbreviation.
team_name character Team name.
team_common_name character Team common name.
team_logo character URL to the team logo image.
conference_abbr character Conference abbreviation.
conference_name character Conference name.
division_abbr character Division abbreviation.
division_name character Division name.
place_name character Team place/city name.
games_played integer Games played.
wins integer Wins.
losses integer Losses.
ot_losses integer Overtime losses.
points integer Total points.
point_pctg numeric Points percentage.
goals_for integer Goals for.
goals_against integer Goals against.
goal_differential integer Goal differential.
streak_code character Current streak code (W/L/OT).
streak_count integer Length of the current streak.

Examples

try(nhl_teams_info(team_abbr = "TBL"))

NHL Team Roster

Description

Returns the roster for a given NHL team. Uses the NHL API (api-web.nhle.com).

Usage

nhl_teams_roster(team_abbr, season = NULL)

Arguments

team_abbr

Character three-letter team abbreviation (e.g., "TOR").

season

Integer four-digit year (e.g., 2024 for the 2024-25 season). If NULL, returns the current roster.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
first_name character Player first name.
last_name character Player last name.
full_name character Player full name.
sweater_number integer Jersey number.
position_code character Player position code (F/D/G).
shoots_catches character Handedness (shoots/catches).
height_inches integer Height in inches.
weight_pounds integer Weight in pounds.
birth_date character Player birth date.
birth_city character Player birth city.
birth_country character Player birth country.
headshot_url character URL to the player's headshot image.
team_abbr character Team abbreviation.

Examples

try(nhl_teams_roster(team_abbr = "TOR"))
  try(nhl_teams_roster(team_abbr = "TOR", season = 2024))

NHL Teams Stats

Description

Returns NHL team player-level stats (skaters and goalies) for a given team abbreviation and season. Uses the new NHL API club-stats endpoint (api-web.nhle.com).

Breaking change: The old team_id (integer) parameter has been replaced by team_abbr (3-letter string). The season parameter now accepts a 4-digit year (e.g., 2024 for the 2024-25 season).

Usage

nhl_teams_stats(team_abbr, season = NULL, game_type = 2)

Arguments

team_abbr

Three-letter team abbreviation (e.g., "TBL", "TOR", "SEA")

season

Integer 4-digit year (e.g., 2024 for the 2024-25 season). If NULL, returns current season stats.

game_type

Integer game type: 2 = regular season (default), 3 = playoffs

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id integer Unique player identifier.
headshot character URL to the player's headshot image.
position_code character Player position code.
games_played integer Games played.
goals integer Goals scored.
assists integer Assists.
points integer Total points (goals + assists).
plus_minus integer Plus/minus rating.
penalty_minutes integer Penalty minutes.
power_play_goals integer Power-play goals.
shorthanded_goals integer Short-handed goals.
game_winning_goals integer Game-winning goals.
overtime_goals integer Overtime goals.
shots integer Shots on goal.
shooting_pctg numeric Shooting percentage.
avg_time_on_ice_per_game numeric Average time on ice per game.
avg_shifts_per_game numeric Average shifts per game.
faceoff_win_pctg numeric Faceoff win percentage.
first_name_default character Player first name (default language).
last_name_default character Player last name (default language).
last_name_cs character Player last name (Czech localization).
last_name_fi character Player last name (Finnish localization).
last_name_sk character Player last name (Slovak localization).
player_type character Player type ("skater" or "goalie").
games_started integer Games started (goalies).
wins integer Wins (goalies).
losses integer Losses (goalies).
overtime_losses integer Overtime losses (goalies).
goals_against_average numeric Goals-against average (goalies).
save_percentage numeric Save percentage (goalies).
shots_against integer Shots faced (goalies).
saves integer Saves made (goalies).
goals_against integer Goals against (goalies).
shutouts integer Shutouts (goalies).
time_on_ice integer Total time on ice (goalies).
first_name_cs character Player first name (Czech localization).
first_name_sk character Player first name (Slovak localization).
team_abbr character Team abbreviation.
season character Season identifier.
game_type integer Game type (2 = regular season, 3 = playoffs).

Examples

try(nhl_teams_stats(team_abbr = "TBL"))

NHL TV Schedule

Description

Returns the TV schedule for NHL games on a given date.

Usage

nhl_tv_schedule(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current.

Value

A named list of data frames: broadcasts.

broadcasts

col_name types description
startTime character Broadcast start time (UTC).
endTime character Broadcast end time (UTC).
durationSeconds integer Broadcast duration in seconds.
title character Broadcast title.
description character Broadcast description.
houseNumber character Internal broadcast house number identifier.
broadcastType character Type of broadcast.
broadcastStatus character Broadcast status.
broadcastImageUrl character URL to the broadcast image.

Examples

try(nhl_tv_schedule())

NHL Web API Endpoint Overview

Description

Wrappers around the modern NHL Web API at api-web.nhle.com/v1/.... These cover game feeds, schedules, standings, rosters, gamecenter, draft, scoreboard, scores, meta, location, partner-game, where-to-watch, smartlinks, postal-lookup, ppt-replay, and WSC PBP.

All responses are clean JSON parsed with jsonlite::fromJSON() and wrapped in the fastRhockey_data S3 class via make_fastRhockey_data().

Details

Game-level

Function Endpoint family Purpose
nhl_game_feed() gamecenter/{id}/play-by-play Full PBP + rosters + game info
nhl_game_boxscore() gamecenter/{id}/boxscore Player + team boxscore tables
nhl_game_shifts() stats/rest/en/shiftcharts Per-shift records (with HTML fallback for empty endpoints)
nhl_game_story() wsc/game-story/{id} Narrative-format recap
nhl_game_content() gamecenter/{id}/... Media + content
nhl_gamecenter_landing() gamecenter/{id}/landing Game-center landing payload
nhl_wsc_pbp() wsc/play-by-play/{id} WSC narrative-format play-by-play
nhl_ppt_replay() ppt-replay/... Event-level replay metadata
nhl_ppt_replay_goal() ppt-replay/goal/... Goal-specific replay metadata

Schedule / scores

Function Endpoint family Purpose
nhl_schedule() schedule/{date} Daily / season schedule
nhl_schedule_calendar() schedule-calendar/{date} Calendar view
nhl_club_schedule() club-schedule/{team}/season Per-club schedule
nhl_scoreboard() scoreboard/{date}/now Live + daily scoreboard
nhl_scores() score/{date} Scores
nhl_tv_schedule() network/tv-schedule TV broadcast schedule
nhl_where_to_watch() where-to-watch/{date} Region-aware watch info

Standings / seasons

Function Endpoint family Purpose
nhl_standings() standings/{date} Current / historical standings
nhl_standings_season() standings-season Season list
nhl_seasons() seasons + rankings Seasons + draft rankings
nhl_playoff_carousel() playoff-series/carousel/... Playoff carousel
nhl_playoff_schedule() playoff-series/{year}/{seriesLetter} Playoff schedule

Teams

Function Endpoint family Purpose
nhl_teams() teams Team info
nhl_teams_info() (via nhl_teams) Team info by abbreviation
nhl_teams_roster() roster/{team}/current Current roster
nhl_roster_season() roster/{team}/{season} Roster by season
nhl_team_prospects() prospects/{team} Team prospects
nhl_team_scoreboard() scoreboard/{team}/now Team-specific scoreboard
nhl_team_summary_range() (helper) Multi-season team summary
nhl_conferences() (derived from standings) Conferences
nhl_conferences_info() (derived) Conference details
nhl_divisions() (derived) Divisions
nhl_divisions_info() (derived) Division details

Players

Function Endpoint family Purpose
nhl_player_info() player/{id}/landing Player biographical info
nhl_player_game_log() player/{id}/game-log Player game logs
nhl_player_spotlight() player-spotlight Featured player spotlight
nhl_skater_summary_range() (helper) Multi-season skater summary
nhl_goalie_summary_range() (helper) Multi-season goalie summary
nhl_all_players_by_season() (helper) All rostered players across teams for a season

Aggregators

Function Endpoint family Purpose
nhl_game_ids_by_season() (helper) All game IDs across teams for a season

Meta / location / smart-links

Function Endpoint family Purpose
nhl_meta() meta + playoff-series + per-game meta League / game / series metadata
nhl_postal_lookup() postal-lookup/{zip} Broadcast region by postal code
nhl_smartlinks() NHL.com smart-link router Smart-link resolver

NHL Where to Watch

Description

Returns streaming/broadcast availability information.

Usage

nhl_where_to_watch()

Value

Returns a list with streaming availability data.

Examples

try(nhl_where_to_watch())

NHL WSC Play-by-Play

Description

Returns the narrative-format (Web Services Content) play-by-play feed for a given NHL game ID from the NHL web service.

This endpoint is distinct from nhl_game_pbp(), which hits the gamecenter/{id}/play-by-play endpoint and returns a tabular play-event feed. nhl_wsc_pbp() hits wsc/play-by-play/{gameId} and returns the narrative-format payload used by NHL.com's story / recap pages (closer in shape to nhl_game_story()).

Usage

nhl_wsc_pbp(game_id)

Arguments

game_id

Integer or character game ID (e.g., 2023020001).

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id integer Unique play event identifier.
eventId integer Event identifier within the game.
period integer Period number.
timeInPeriod character Elapsed time in the period (MM:SS).
secondsRemaining integer Seconds remaining in the period.
situationCode character On-ice situation code.
typeCode integer Numeric event type code.
typeDescKey character Event type description key.
homeTeamDefendingSide character Side of the ice the home team is defending.
sortOrder integer Sort order of the event.
utc character UTC timestamp of the event.
eventOwnerTeamId integer Team identifier that owns the event.
losingPlayerId integer Player identifier who lost the faceoff.
winningPlayerId integer Player identifier who won the faceoff.
xCoord integer X coordinate of the event on the ice.
yCoord integer Y coordinate of the event on the ice.
zoneCode character Zone code where the event occurred.
hittingPlayerId integer Player identifier delivering the hit.
hitteePlayerId integer Player identifier receiving the hit.
playerId integer Player identifier involved in the event.
shotType character Type of shot.
shootingPlayerId integer Player identifier taking the shot.
goalieInNetId integer Goalie identifier in net for the event.
awaySOG integer Away team shots on goal at the event.
homeSOG integer Home team shots on goal at the event.
reason character Reason associated with the event.
blockingPlayerId integer Player identifier blocking the shot.
goalModifier character Goal modifier description.
strength character Strength state of the goal.
scoringPlayerId integer Player identifier scoring the goal.
assist1PlayerId integer Player identifier for the primary assist.
assist2PlayerId integer Player identifier for the secondary assist.
awayScore integer Away team score at the event.
homeScore integer Home team score at the event.
strengthCode integer Numeric strength state code.
goalCode integer Numeric goal code.
scoringPlayerTotal integer Season goal total for the scorer.
assist1PlayerTotal integer Season assist total for the primary assister.
assist2PlayerTotal integer Season assist total for the secondary assister.
penaltyTypeCode character Penalty type code.
descKey character Penalty description key.
duration integer Penalty duration in minutes.
committedByPlayerId integer Player identifier who committed the penalty.
drawnByPlayerId integer Player identifier who drew the penalty.

Examples

try(nhl_wsc_pbp(game_id = 2023020001))

NHL Expected Goals (xG) Pipeline Overview

Description

Expected-goals computation for NHL play-by-play data. Three XGBoost models (5v5, special teams, penalty shots) are downloaded from ⁠sportsdataverse/fastRhockey-nhl-data/main/models/⁠ on package load (see zzz.R's .onLoad()) and cached in tools::R_user_dir("fastRhockey", "cache") so they're fetched once.

Details

Helpers

Function Purpose
helper_nhl_prepare_xg_data() Build the model feature frame (event filtering, era dummies, skater counts, rebound / rush / cross-ice flags). (internal)
helper_nhl_calculate_xg() Run the three XGBoost predictions and append an xg column to the PBP frame.

Era dummies

The training corpus runs 2010-2024; the features keep one-hot era indicators so the same models generalize past the training cutoff:

Indicator Seasons
era_2011_2013 20102011, 20112012, 20122013
era_2014_2018 20132014 ... 20172018
era_2019_2021 20182019, 20192020, 20202021
era_2022_2024 20212022, 20222023, 20232024
era_2025_on seasons after 20232024

Required PBP columns

The input pbp data frame must include event_type, secondary_type, period_type, period, game_seconds, x, y, x_fixed, event_team_abbr, home_abbr, away_abbr, home_skaters, away_skaters, shot_distance, shot_angle, empty_net, strength_state, event_id, and season. nhl_game_pbp() / nhl_game_feed() produce all of them.

Dependencies

The xgboost suggested package is required. The pipeline fails gracefully (returns pbp unchanged with an xg = NA_real_ column) if xgboost is absent.


PHF (Premier Hockey Federation) Endpoint Overview — DEPRECATED

Description

Wrappers for the now-defunct Premier Hockey Federation (PHF, formerly NWHL). The PHF ceased operations in mid-2023, so these functions are kept in the package for historical access to cached data but are formally deprecated in v1.0.0 and emit lifecycle::deprecate_stop(). Tests for these functions check for the lifecycle_error_deprecated class.

Details

Game-level

Function Purpose
phf_game_all() Per-game payload (all sections)
phf_game_raw() Raw API response
phf_game_details() Game details only
phf_game_summary() Game summary only
phf_pbp() Per-game play-by-play + loader entry point
phf_player_box() Per-game player boxscore
phf_team_box() Per-game team boxscore

Season-level

Function Purpose
phf_schedule() Season schedule
phf_standings() Standings
phf_team_roster() Team rosters
phf_team_stats() Team season stats
phf_player_stats() Player season stats
phf_leaders() League leaders
phf_league_info() League info

Deprecation

All PHF wrappers call lifecycle::deprecate_stop() and raise errors. Use the still-active pwhl family for current women's pro hockey.


PHF Game All

Description

phf_game_all: pull in the raw data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_game_all(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A named list of data frames: plays, team_box, skaters, goalies, game_details, scoring_summary, shootout_summary, penalty_summary, officials, team_staff, timeouts

Examples

try(phf_game_all(game_id = 612254))

PHF Game Details

Description

phf_game_details: pull in the raw data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_game_details(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A data frame with game team details

Examples

try(phf_game_details(game_id = 612254))

PHF Game Raw

Description

phf_game_raw: pull in the raw data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_game_raw(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A list of data frames

Examples

try(phf_game_raw(game_id = 612254))

PHF Game Summary

Description

phf_game_summary: pull in the raw data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_game_summary(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A named list of data frames: scoring_summary,shootout_summary, penalty_summary, officials, team_staff, timeouts

Examples

try(phf_game_summary(game_id = 612254))

PHF Player Leaderboards

Description

PHF Player Leaderboards

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_leaders(
  player_type,
  season = most_recent_phf_season(),
  season_type = "Regular Season"
)

Arguments

player_type

Player type: skaters, goalies

season

Season (YYYY) to pull the team stats from, the concluding year in XXXX-YY format

season_type

Season type: Regular Season or Playoffs

Value

A data frame of stat leaders

Examples

try(phf_leaders(player_type = "skaters", season = 2022, season_type="Regular Season"))
 try(phf_leaders(player_type = "goalies", season = 2022, season_type="Regular Season"))

PHF League Information

Description

PHF League Information per year

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_league_info(season = most_recent_phf_season())

Arguments

season

Season (YYYY) to pull the league info and IDs for. Season is the concluding year in XXXX-YY format

Value

A named list of data frames: seasons, divisions, teams, league, officials, brackets

Examples

try(phf_league_info(season = 2023))
  try(phf_league_info(season = 2016))

phf_pbp

Description

phf_pbp: pull in the raw data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_pbp(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A data frame of play by play information

Examples

try(phf_pbp(game_id = 268127))

PHF Player Boxscore

Description

phf_player_box: loads the player boxscore

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_player_box(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A named list of data frames: skaters, goalies

Examples

try(phf_player_box(game_id = 420339))

PHF Player Stats

Description

phf_player_stats: loads the player stats

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_player_stats(player_id)

Arguments

player_id

The unique ID code for the player that you are interested in viewing the data for

Value

A named list of data frames: career, game_log

Examples

try(phf_player_stats(player_id = 431611))
  try(phf_player_stats(player_id = 532475))

PHF Schedule

Description

PHF Schedule lookup

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_schedule(season = NULL)

Arguments

season

Season (YYYY) to pull the schedule from, the concluding year in XXXX-YY format

Value

A data frame with schedule data

Examples

try(phf_schedule(season = 2023))

PHF Standings

Description

phf_standings: pull in the standings data for a game_id from the PHF/NWHL API

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_standings(season = most_recent_phf_season())

Arguments

season

Season (YYYY) to pull the standings from, the concluding year in XXXX-YY format

Value

A data frame of standings data

Examples

try(phf_standings(season = most_recent_phf_season()))

PHF Team Boxscore

Description

phf_team_box: loads the team boxscore and shot/score data for a game into one data frame through just one function

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_team_box(game_id)

Arguments

game_id

The unique ID code for the game that you are interested in viewing the data for

Value

A dataframe of team-level box score information

Examples

try(phf_team_box(game_id = 420339))

PHF Team Roster

Description

PHF Team Roster lookup

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_team_roster(team, season = most_recent_phf_season())

Arguments

team

Team name with nickname (e.g. Boston Pride, Buffalo Beauts)

season

Season (YYYY) to pull the team stats from, the concluding year in XXXX-YY format

Value

A named list of data frames: roster, team_staff

Examples

try(phf_team_roster(team = "Minnesota Whitecaps", season = 2023))
   try(phf_team_roster(team = "Buffalo Beauts", season = 2023))
   try(phf_team_roster(team = "Buffalo Beauts", season = 2016))

PHF Team Stats

Description

PHF Team Stats lookup

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

phf_team_stats(team, season = most_recent_phf_season())

Arguments

team

Team name with nickname (e.g. Boston Pride, Buffalo Beauts)

season

Season (YYYY) to pull the team stats from, the concluding year in XXXX-YY format

Value

A named list of data frames: skaters, goalies

Examples

try(phf_team_stats(team = "Boston Pride", season = 2022))

Progressively

Description

This function helps add progress-reporting to any function - given function f() and progressr p(), it will return a new function that calls f() and then (on-exiting) will call p() after every iteration.

Usage

progressively(f, p = NULL)

Arguments

f

a function to add progressr functionality to.

p

a progressr function as created by progressr::progressor()

Details

This is inspired by purrr's safely, quietly, and possibly function decorators.

Value

a function that does the same as f but it calls p() after iteration.


PWHL (Professional Women's Hockey League) Endpoint Overview

Description

Wrappers around the HockeyTech feeds that back the PWHL stats portal, grouped by what they return. Three feed flavors are used internally (statviewfeed, modulekit, gc) — see pwhl_helpers.R for the .pwhl_api() / .pwhl_modulekit_url() / .pwhl_gc_url() helpers that build the JSONP URLs and strip the Angular callbacks.

Details

Game-level

Function Feed Purpose
pwhl_schedule() statviewfeed Season schedule
pwhl_scorebar() modulekit Recent + upcoming scorebar
pwhl_game_info() statviewfeed Per-game metadata
pwhl_game_summary() gc Per-game summary (rosters, periods, three stars)
pwhl_pbp() statviewfeed Play-by-play
pwhl_player_box() statviewfeed Per-game player boxscore

Team-level

Function Feed Purpose
pwhl_teams() statviewfeed Team listing
pwhl_team_roster() statviewfeed Active roster
pwhl_standings() statviewfeed Current standings

Player-level

Function Feed Purpose
pwhl_player_info() modulekit Player profile
pwhl_player_stats() modulekit Career / season stats
pwhl_player_game_log() modulekit Game-by-game player log
pwhl_player_search() modulekit Search by name
pwhl_stats() statviewfeed League-wide stats
pwhl_leaders() modulekit League leaders (top scorers / goalies)
pwhl_streaks() modulekit Player streaks

League-level

Function Feed Purpose
pwhl_season_id() modulekit (with hardcoded fallback) Map (season, game_type) -> HockeyTech season_id
pwhl_transactions() modulekit Player transactions
pwhl_playoff_bracket() modulekit Playoff bracket
most_recent_pwhl_season() (computed) Most-recent PWHL season (end-year)

Season Convention

PWHL functions use the end year of the season (e.g. 2026 for the 2025-26 season), matching most_recent_pwhl_season().


PWHL Game Information

Description

PWHL Game Information

Usage

pwhl_game_info(game_id)

Arguments

game_id

Game ID that you want game information for

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id integer Unique game identifier.
game_season numeric Season (concluding year, YYYY).
game_type character Game type the row belongs to.
game_date character Game date.
home_team character Home team name.
away_team character Away team name.
home_team_id integer Home team identifier.
away_team_id integer Away team identifier.
home_score integer Home team final score.
away_score integer Away team final score.
game_duration character Game duration.
game_venue character Venue where the game was played.
game_report character URL to the game report.
game_boxscore character URL to the text box score.
game_season_id character Season identifier used by the PWHL feed.

Examples

try(pwhl_game_info(game_id = 27))

PWHL Game Summary

Description

Retrieves a detailed game summary from the PWHL game center feed, including scoring summary, penalty summary, shots by period, and three stars.

Usage

pwhl_game_summary(game_id)

Arguments

game_id

Game ID to retrieve the summary for.

Value

A named list of data frames: details, scoring, penalties, shots_by_period, three_stars.

details

col_name types description
game_id numeric Unique game identifier.
date character Game date.
status character Game status.
venue character Venue where the game was played.
attendance character Reported attendance.
home_team character Home team name.
home_team_id numeric Home team identifier.
home_score numeric Home team final score.
away_team character Away team name.
away_team_id numeric Away team identifier.
away_score numeric Away team final score.

scoring

col_name types description
period character Period in which the goal was scored.
time character Time of the goal.
team character Team that scored.
team_id numeric Identifier of the scoring team.
scorer character Name of the goal scorer.
scorer_id numeric Identifier of the goal scorer.
assist_1 character Name of the primary assister.
assist_2 character Name of the secondary assister.
goal_type character Type of goal.

penalties

col_name types description
period character Period in which the penalty occurred.
time character Time of the penalty.
team character Penalized team.
team_id numeric Identifier of the penalized team.
player character Penalized player name.
player_id numeric Identifier of the penalized player.
infraction character Penalty infraction description.
minutes numeric Penalty minutes.

shots_by_period

col_name types description
period character Period number.
home_shots numeric Home team shots in the period.
away_shots numeric Away team shots in the period.

three_stars

col_name types description
star numeric Star ranking (1 to 3).
player_id numeric Identifier of the selected player.
first_name character Player first name.
last_name character Player last name.
team_id numeric Identifier of the player's team.

Examples

try(pwhl_game_summary(game_id = 27))

PWHL League Leaders

Description

Retrieves PWHL league leaders (top scorers or top goalies) for a season.

Usage

pwhl_leaders(
  position = "skaters",
  season = most_recent_pwhl_season(),
  game_type = "regular",
  limit = 100
)

Arguments

position

Either "skaters" (default) or "goalies".

season

Season (YYYY) to pull leaders from. Defaults to most_recent_pwhl_season().

game_type

Game type: "regular" (default), "preseason", or "playoffs".

limit

Maximum number of leaders to return. Default 100.

Value

A data frame (fastRhockey_data) with the following columns, or NULL if unavailable:

col_name types description
player_id character Unique player identifier.
shortname character Player short name.
first_name character Player first name.
last_name character Player last name.
name character Player full name.
phonetic_name character Phonetic spelling of the player name.
active character Whether the player is active.
height character Player height.
weight character Player weight.
last_years_club character Player's club in the previous season.
age character Player age.
shoots character Handedness the player shoots.
position character Player position.
suspension_games_remaining character Suspension games remaining.
suspension_indefinite character Whether the suspension is indefinite.
rookie character Whether the player is a rookie.
veteran character Whether the player is a veteran.
draft_eligible character Whether the player is draft eligible.
jersey_number character Jersey number.
team_name character Team name.
team_code character Team abbreviation.
team_id character Unique team identifier.
division character Team division.
birthdate character Player birthdate.
birthdate_year character Player birth year.
hometown character Player hometown.
homeprov character Player home province/state.
homecntry character Player home country.
birthtown character Player birth town.
birthprov character Player birth province/state.
birthcntry character Player birth country.
hometownprov character Player hometown and province/state.
homeplace character Player home place description.
games_played numeric Games played.
game_winning_goals character Game-winning goals.
game_tieing_goals character Game-tying goals.
first_goals character First goals of a game.
insurance_goals character Insurance goals.
unassisted_goals character Unassisted goals.
empty_net_goals character Empty-net goals.
overtime_goals character Overtime goals.
ice_time character Total ice time.
ice_time_avg character Average ice time.
goals numeric Goals scored.
shots numeric Shots on goal.
loose_ball_recoveries character Loose ball recoveries.
caused_turnovers character Turnovers caused.
turnovers character Turnovers committed.
hits character Hits delivered.
shots_blocked_by_player character Shots blocked by the player.
ice_time_minutes_seconds character Ice time in minutes and seconds.
shooting_percentage numeric Shooting percentage.
assists numeric Assists.
points numeric Total points (goals + assists).
points_per_game numeric Points per game.
plus_minus numeric Plus/minus rating.
penalty_minutes numeric Penalty minutes.
penalty_minutes_per_game character Penalty minutes per game.
ice_time_per_game_avg character Average ice time per game.
hits_per_game_avg character Average hits per game.
minor_penalties character Minor penalties.
major_penalties character Major penalties.
power_play_goals numeric Power-play goals.
power_play_assists numeric Power-play assists.
power_play_points character Power-play points.
short_handed_goals numeric Short-handed goals.
short_handed_assists numeric Short-handed assists.
short_handed_points character Short-handed points.
shootout_goals character Shootout goals.
shootout_attempts character Shootout attempts.
shootout_winning_goals character Shootout game-winning goals.
shootout_games_played character Games played that went to a shootout.
faceoff_attempts character Faceoff attempts.
faceoff_wins character Faceoffs won.
faceoff_pct character Faceoff win percentage.
faceoff_wa character Faceoff wins-to-attempts metric.
shots_on character Shots on goal count.
shootout_percentage character Shootout scoring percentage.
latest_team_id character Most recent team identifier.
num_teams character Number of teams the player has played for.
logo character URL to the team logo.
rank numeric Leader rank.
player_page_link character URL to the player page.
namelink character HTML link for the player name.
teamlink character HTML link for the team.
photo character URL to the player photo.
team_breakdown character Per-team statistical breakdown.
is_total character Whether the row is a season total.

Examples

try(pwhl_leaders(position = "skaters", season = 2025))
  try(pwhl_leaders(position = "goalies", season = 2025))

PWHL Data Loaders Overview

Description

Loaders for season-level PWHL datasets published as GitHub releases on sportsdataverse/sportsdataverse-data. Each helper is a thin wrapper around .pwhl_release_loader() which validates seasons, builds the per-asset URLs from a ⁠(release_tag, file_prefix)⁠ pair, downloads in parallel with optional progressr progress + optional DBI::DBIConnection insertion, and tags the result with the fastRhockey_data S3 class. Adding a new dataset is one new row in the catalog table below.

Details

Loader catalog

Function Release tag File prefix
load_pwhl_pbp() pwhl_pbp play_by_play
load_pwhl_player_box() pwhl_player_boxscores player_box
load_pwhl_skater_box() pwhl_skater_boxscores skater_box
load_pwhl_goalie_box() pwhl_goalie_boxscores goalie_box
load_pwhl_team_box() pwhl_team_boxscores team_box
load_pwhl_schedule() pwhl_schedules pwhl_schedule
load_pwhl_rosters() pwhl_rosters rosters
load_pwhl_game_rosters() pwhl_game_rosters game_rosters
load_pwhl_game_info() pwhl_game_info game_info
load_pwhl_scoring_summary() pwhl_scoring_summary scoring_summary
load_pwhl_penalty_summary() pwhl_penalty_summary penalty_summary
load_pwhl_three_stars() pwhl_three_stars three_stars
load_pwhl_officials() pwhl_officials officials
load_pwhl_shots_by_period() pwhl_shots_by_period shots_by_period
load_pwhl_shootout() pwhl_shootout shootout_summary

DB helper

Function Purpose
update_pwhl_db() Idempotent loader -> DB writer (delta only)

Season Convention

PWHL loaders use the end year of the season (e.g. 2026 for the 2025-26 season), matching most_recent_pwhl_season().


PWHL Play-by-play

Description

PWHL Play-by-play

Usage

pwhl_pbp(game_id)

Arguments

game_id

Game ID that you want play-by-play for

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id numeric Unique game identifier.
event character Event type (faceoff, shot, goal, penalty, etc.).
team_id numeric Unique team identifier for the event.
period_of_game character Period number within the game.
time_of_period character Elapsed time within the period (MM:SS).
player_id integer Primary player's unique identifier.
player_name_first character Primary player first name.
player_name_last character Primary player last name.
player_position character Primary player position.
player_two_id integer Second player's unique identifier.
player_two_name_first character Second player first name.
player_two_name_last character Second player last name.
player_two_position character Second player position.
x_coord numeric Transformed x-coordinate of the event.
y_coord numeric Transformed y-coordinate of the event.
home_win numeric Whether the home player won the faceoff.
player_team_id numeric Unique team identifier of the primary player.
event_type character Detailed event sub-type (shot type, penalty type).
shot_quality character Shot quality rating.
goal logical Whether the shot resulted in a goal.
goalie_id integer Goalie's unique identifier.
goalie_first character Goalie first name.
goalie_last character Goalie last name.
penalty_length character Penalty length in minutes.
power_play numeric Whether the event occurred on a power play.
player_three_id integer Third player's unique identifier.
player_three_name_first character Third player first name.
player_three_name_last character Third player last name.
player_three_position character Third player position.
empty_net character Whether the goal was scored on an empty net.
game_winner character Whether the goal was the game-winning goal.
penalty_shot character Whether the goal came on a penalty shot.
insurance character Whether the goal was an insurance goal.
short_handed character Whether the event occurred while short-handed.
plus_player_one_id integer On-ice plus player one unique identifier.
plus_player_one_first character On-ice plus player one first name.
plus_player_one_last character On-ice plus player one last name.
plus_player_one_position character On-ice plus player one position.
plus_player_two_id integer On-ice plus player two unique identifier.
plus_player_two_first character On-ice plus player two first name.
plus_player_two_last character On-ice plus player two last name.
plus_player_two_position character On-ice plus player two position.
plus_player_three_id integer On-ice plus player three unique identifier.
plus_player_three_first character On-ice plus player three first name.
plus_player_three_last character On-ice plus player three last name.
plus_player_three_position character On-ice plus player three position.
plus_player_four_id integer On-ice plus player four unique identifier.
plus_player_four_first character On-ice plus player four first name.
plus_player_four_last character On-ice plus player four last name.
plus_player_four_position character On-ice plus player four position.
plus_player_five_id integer On-ice plus player five unique identifier.
plus_player_five_first character On-ice plus player five first name.
plus_player_five_last character On-ice plus player five last name.
plus_player_five_position character On-ice plus player five position.
minus_player_one_id integer On-ice minus player one unique identifier.
minus_player_one_first character On-ice minus player one first name.
minus_player_one_last character On-ice minus player one last name.
minus_player_one_position character On-ice minus player one position.
minus_player_two_id integer On-ice minus player two unique identifier.
minus_player_two_first character On-ice minus player two first name.
minus_player_two_last character On-ice minus player two last name.
minus_player_two_position character On-ice minus player two position.
minus_player_three_id integer On-ice minus player three unique identifier.
minus_player_three_first character On-ice minus player three first name.
minus_player_three_last character On-ice minus player three last name.
minus_player_three_position character On-ice minus player three position.
minus_player_four_id integer On-ice minus player four unique identifier.
minus_player_four_first character On-ice minus player four first name.
minus_player_four_last character On-ice minus player four last name.
minus_player_four_position character On-ice minus player four position.
minus_player_five_id integer On-ice minus player five unique identifier.
minus_player_five_first character On-ice minus player five first name.
minus_player_five_last character On-ice minus player five last name.
minus_player_five_position character On-ice minus player five position.
game_date character Game date.
game_season numeric Season (concluding year, YYYY).
game_season_id character Season identifier.
home_team_id integer Home team unique identifier.
home_team character Home team name.
away_team_id integer Away team unique identifier.
away_team character Away team name.
x_coord_original integer Original raw x-coordinate from the feed.
y_coord_original integer Original raw y-coordinate from the feed.
x_coord_neutral numeric Neutral-zone-centered x-coordinate.
y_coord_neutral numeric Neutral-zone-centered y-coordinate.
x_coord_fixed numeric Fixed-projection x-coordinate.
y_coord_fixed numeric Fixed-projection y-coordinate.
x_coord_right numeric Right-oriented x-coordinate.
y_coord_right numeric Right-oriented y-coordinate.
x_coord_vertical numeric Vertical-projection x-coordinate.
y_coord_vertical numeric Vertical-projection y-coordinate.
minute_start numeric Minute mark of the period when the event started.
second_start numeric Second mark of the period when the event started.
clock character Game clock time remaining (MM:SS).
sec_from_start numeric Seconds elapsed since the start of the game.

Examples

try(pwhl_pbp(game_id = 27))

PWHL Player Game Box Scores

Description

PWHL Player Box Scores

Usage

pwhl_player_box(game_id)

Arguments

game_id

Game ID that you want play-by-play for

Value

A named list of data frames: skaters, goalies.

skaters

col_name types description
player_id character Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.
team_id integer Unique team identifier.
game_id integer Unique game identifier.
league character League identifier ("pwhl").
toi character Time on ice (MM:SS).
time_on_ice numeric Time on ice in minutes.
goals numeric Goals scored.
assists numeric Assists.
points numeric Total points (goals + assists).
shots numeric Shots on goal.
hits numeric Hits.
blocked_shots numeric Blocked shots.
penalty_minutes numeric Penalty minutes.
plus_minus numeric Plus/minus rating.
faceoff_attempts numeric Faceoffs taken.
faceoff_wins numeric Faceoffs won.
faceoff_losses numeric Faceoffs lost.
faceoff_pct numeric Faceoff win percentage.
starting character Whether the player started the game.

goalies

col_name types description
player_id character Unique player identifier.
first_name character Player first name.
last_name character Player last name.
position character Player position.
team_id integer Unique team identifier.
game_id integer Unique game identifier.
league character League identifier ("pwhl").
toi character Time on ice (MM:SS).
time_on_ice numeric Time on ice in minutes.
saves numeric Saves made.
goals_against numeric Goals against.
shots_against numeric Shots faced.
goals numeric Goals scored.
assists numeric Assists.
points numeric Total points (goals + assists).
penalty_minutes numeric Penalty minutes.
faceoff_attempts numeric Faceoffs taken.
faceoff_wins numeric Faceoffs won.
faceoff_losses numeric Faceoffs lost.
faceoff_pct numeric Faceoff win percentage.
starting numeric Whether the goalie started the game.

Examples

try(pwhl_player_box(game_id = 27))

PWHL Player Game Log

Description

Retrieves game-by-game statistics for a PWHL player in a given season.

Usage

pwhl_player_game_log(
  player_id,
  season = most_recent_pwhl_season(),
  game_type = "both"
)

Arguments

player_id

Numeric player ID

season

Season (YYYY) to pull the game log from, the concluding year in XXXX-YY format. Defaults to most_recent_pwhl_season().

game_type

Game type: "both" (default), "regular", "playoffs", or "preseason". When "both", the player's regular-season and playoff game logs are combined and labeled by a game_type column. Game types the player has no games in (e.g. playoffs for a non-qualifying team) are omitted rather than erroring.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
g_month character Month the game was played.
id numeric Unique game identifier.
home_team character Home team identifier.
visiting_team character Visiting team identifier.
date_played character Date the game was played.
home numeric Whether the player's team was home.
goalie numeric Whether the player was the goalie.
home_team_code character Home team abbreviation.
home_team_name character Home team name.
home_division character Home team division.
visiting_team_code character Visiting team abbreviation.
visiting_team_name character Visiting team name.
visiting_division character Visiting team division.
goals_against numeric Goals against (goalie).
seconds_played character Seconds played in the game.
win numeric Whether the game was a win (goalie).
tie character Whether the game was a tie (goalie).
loss numeric Whether the game was a loss (goalie).
total_losses character Total losses to date (goalie).
shutout character Whether the game was a shutout (goalie).
ot_loss character Whether the game was an overtime loss.
shootout_loss character Whether the game was a shootout loss.
saves numeric Saves made (goalie).
shots_against numeric Shots faced (goalie).
shootout_saves character Shootout saves made.
shootout_goals_against character Shootout goals against.
shootout_shots character Shootout shots faced.
goals numeric Goals scored.
assists numeric Assists.
pim character Penalty minutes.
points numeric Total points (goals + assists).
gaa character Goals against average (goalie).
svpct character Save percentage (goalie).
shootout_shots_percentage character Shootout save percentage.
penalty_minutes numeric Penalty minutes.
minutes character Minutes played.
player_team character The player's team.
player_id numeric Unique player identifier.
game_type character Game type the row belongs to ("regular"/"playoffs").

Examples

try(pwhl_player_game_log(player_id = 28, season = 2025))

PWHL Player Info

Description

Retrieves biographical and profile information for a PWHL player.

Usage

pwhl_player_info(player_id)

Arguments

player_id

Numeric player ID

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id numeric Unique player identifier.
first_name character Player first name.
last_name character Player last name.
name character Player full name.
jersey_number character Jersey number.
position character Player position.
shoots character Shooting hand.
catches character Catching hand (goalies).
birthdate character Date of birth.
height character Player height.
weight character Player weight.
birthtown character Town of birth.
birthprov character Province/state of birth.
birthcntry character Country of birth.
nationality character Player nationality.
team_id numeric Current team unique identifier.
team_name character Current team name.
team_code character Current team abbreviation.
image_url character Player headshot URL.
draft_info character Draft information.

Examples

try(pwhl_player_info(player_id = 28))

PWHL Player Season Stats

Description

Retrieves career and season-by-season statistics for a PWHL player.

Usage

pwhl_player_stats(player_id)

Arguments

player_id

Numeric player ID

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
season_id numeric Season identifier.
season_name character Season name.
shortname character Short season name.
playoff character Whether the row is playoff statistics.
career character Whether the row is career totals.
max_start_date character Latest game start date for the season.
veteran_status character Player veteran status.
veteran character Whether the player is a veteran.
goals_against numeric Goals against (goalie).
shootout_goals_against character Shootout goals against.
shootout_saves character Shootout saves made.
goals_against_average numeric Goals against average (goalie).
games_played numeric Games played.
minutes_played numeric Minutes played.
seconds_played character Seconds played.
shots_against numeric Shots faced (goalie).
wins numeric Wins (goalie).
losses numeric Losses (goalie).
ties character Ties (goalie).
ot_losses character Overtime losses (goalie).
total_losses character Total losses (goalie).
shootout_losses character Shootout losses (goalie).
ot character Overtime results.
sosavepct character Shootout save percentage.
shootout_shots character Shootout shots faced.
shutouts numeric Shutouts recorded (goalie).
saves numeric Saves made (goalie).
savepct numeric Save percentage (goalie).
goals numeric Goals scored.
assists numeric Assists.
points numeric Total points (goals + assists).
penalty_minutes numeric Penalty minutes.
team_name character Team name.
team_code character Team abbreviation.
team_city character Team city.
team_nickname character Team nickname.
team_id character Unique team identifier.
division character Team division.
shotspct character Shooting percentage.
gaa character Goals against average (goalie).
player_id numeric Unique player identifier.
stat_type character Statistic type ("regular"/"playoff").

Examples

try(pwhl_player_stats(player_id = 28))

PWHL Playoff Bracket

Description

Retrieves the playoff bracket for a PWHL season.

Usage

pwhl_playoff_bracket(season = most_recent_pwhl_season())

Arguments

season

Season (YYYY) to pull the playoff bracket from. Defaults to most_recent_pwhl_season().

Value

A data frame with playoff bracket / series data, or NULL if unavailable.

  • series_id - Series identifier.

  • round - Playoff round number.

  • series_name - Series name or label.

  • team_1_id - First team ID.

  • team_1_name - First team name.

  • team_1_wins - First team series wins.

  • team_2_id - Second team ID.

  • team_2_name - Second team name.

  • team_2_wins - Second team series wins.

  • series_status - Series completion status.

  • winner_id - Winning team ID (if series is complete).

Examples

try(pwhl_playoff_bracket(season = 2024))

PWHL Schedule

Description

PWHL Schedule lookup

Usage

pwhl_schedule(season, game_type = "both")

Arguments

season

Season (YYYY) to pull the schedule from, the concluding year in XXXX-YY format

game_type

Game type: "both" (default), "regular", "playoffs", or "preseason". When "both", regular-season and playoff games for the season are combined into a single, chronologically ordered data frame (preseason is excluded from "both" – request it explicitly with game_type = "preseason").

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id character Unique game identifier.
season numeric Season (concluding year, YYYY).
game_date character Game date.
game_status character Status of the game.
home_team character Home team name.
home_team_id character Home team identifier.
away_team character Away team name.
away_team_id character Away team identifier.
home_score character Home team score.
away_score character Away team score.
winner character Winning team.
venue character Venue where the game was played.
venue_url character URL for the venue.
game_type character Game type the row belongs to.

Examples

try(pwhl_schedule(season = 2024))
  try(pwhl_schedule(season = 2024, game_type = "playoffs"))

PWHL Scorebar

Description

Retrieves recent and upcoming PWHL game scores.

Usage

pwhl_scorebar(days_back = 3, days_ahead = 3)

Arguments

days_back

Number of days back to include. Default 3.

days_ahead

Number of days ahead to include. Default 3.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
game_id numeric Unique game identifier.
season_id numeric Season identifier.
date character Game date.
game_date character Game date.
status character Status of the game.
home_team character Home team name.
home_team_id numeric Home team identifier.
home_team_code character Home team abbreviation.
home_score character Home team score.
away_team character Away team name.
away_team_id numeric Away team identifier.
away_team_code character Away team abbreviation.
away_score character Away team score.
period character Current period for live/completed games.
clock character Current clock time for live games.

Examples

try(pwhl_scorebar(days_back = 7, days_ahead = 7))

PWHL Season IDs

Description

Retrieves PWHL season IDs from the HockeyTech API.

Usage

pwhl_season_id(season = NULL, game_type = "regular")

Arguments

season

Unused; kept for backwards compatibility.

game_type

Unused; kept for backwards compatibility. Defaults to "regular".

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
season_id numeric Season identifier used by the HockeyTech API.
season_name character Full season name (e.g., "2024-25 Regular Season").
season_short character Short season name.
career character Whether this is a career-stats season.
playoff character Whether this is a playoff season.
start_date character Season start date.
end_date character Season end date.
season_yr numeric Year derived from the season name (concluding year).
game_type_label character Game type: "preseason", "regular", or "playoffs".

Examples

try(pwhl_season_id())

PWHL Standings

Description

PWHL Standings lookup

Usage

pwhl_standings(season = 2023, regular = TRUE)

Arguments

season

Season (YYYY) to pull the roster from, the concluding year in XXXX-YY format

regular

Bool for whether to pull regular or pre-season rosters

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_rank integer Team rank in the standings.
team character Team name.
team_code character Team abbreviation.
games_played character Games played.
points character Standings points.
wins character Wins.
non_reg_wins character Non-regulation wins.
losses character Losses.
non_reg_losses character Non-regulation losses.
goals_for character Goals scored.
goals_against character Goals against.
games_remaining character Games remaining in the season.
ot_wins character Overtime wins.
ot_losses character Overtime losses.
so_wins character Shootout wins.
so_losses character Shootout losses.
power_play_goals character Power-play goals scored.
power_play_goals_against character Power-play goals against.
power_plays character Power-play opportunities.
power_play_pct character Power-play percentage.
short_handed_goals character Short-handed goals scored.
short_handed_goals_against character Short-handed goals against.
times_short_handed character Times short-handed.
penalty_kill_pct character Penalty-kill percentage.

Examples

try(pwhl_standings(season = 2024, regular = TRUE))

PWHL Stats

Description

PWHL Stats lookup

Usage

pwhl_stats(position = "goalie", team = "all", season = 2024, regular = TRUE)

Arguments

position

either goalie or skater.

team

Team abbreviation to filter skaters by (e.g., "BOS"). Ignored for goalies.

season

Season (YYYY) to pull the stats from, the concluding year in XXXX-YY format

regular

Bool for whether to pull regular or pre-season stats

Value

A data frame (fastRhockey_data) with player stats. Columns vary by position; the goalie variant returns the following columns:

col_name types description
player_id character Unique player identifier.
player_name character Player name.
team character Team name.
games_played character Games played.
minutes character Total minutes played.
minute character Minutes component of time on ice.
second character Seconds component of time on ice.
shots_faced character Shots faced.
goals_against character Goals against.
goals_against_avg character Goals-against average.
save_percentage character Save percentage.
shutouts character Shutouts.
wins character Wins.
losses character Losses.
so_att character Shootout attempts faced.
so_goals_against character Shootout goals against.
so_save_percentage character Shootout save percentage.

Examples

try(pwhl_stats(position = "goalie", season = 2024))

PWHL Player Streaks

Description

Retrieves player streak data for a PWHL season.

Usage

pwhl_streaks(season = most_recent_pwhl_season(), game_type = "both")

Arguments

season

Season (YYYY) to pull streaks from. Defaults to most_recent_pwhl_season().

game_type

Game type: "both" (default), "regular", "playoffs", or "preseason". When "both", regular-season and playoff streaks are combined and labeled by a game_type column. Game types with no streak data for the season are omitted rather than erroring.

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
id character Unique streak identifier.
player_id character Unique player identifier.
rookie character Whether the player is a rookie.
first_game_date character Date of the streak's first game.
last_game_date character Date of the streak's last game.
first_name character Player first name.
last_name character Player last name.
name character Player full name.
length character Length of the streak in games.
goals character Goals scored during the streak.
assists character Assists during the streak.
has_split character Whether the streak spans teams.
games_played character Games played during the streak.
ongoing character Whether the streak is ongoing.
points character Total points during the streak.
streak_start_team_id character Team identifier at streak start.
streak_end_team_id character Team identifier at streak end.
num_teams character Number of teams during the streak.
division_short_name character Short division name.
division_long_name character Full division name.
rank character Rank of the streak.
team_name character Team name.
team_city character Team city.
team_code character Team abbreviation.
team_nickname character Team nickname.
game_type character Game type the row belongs to.

Examples

try(pwhl_streaks(season = 2025))

PWHL Rosters

Description

PWHL Rosters lookup

Usage

pwhl_team_roster(team, season, regular = TRUE)

Arguments

team

Team to pull the roster data for

season

Season (YYYY) to pull the roster from, the concluding year in XXXX-YY format

regular

Bool for whether to pull regular or pre-season rosters

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
player_id numeric Unique player identifier.
team_id numeric Unique team identifier.
season numeric Season (concluding year, YYYY).
player_name character Full player name.
first_name character Player first name.
last_name character Player last name.
primary_hand character Player shooting/catching hand.
dob character Player date of birth.
height logical Player height.
position character Player position.
home_town character Player home town.
league character League identifier.
age numeric Player age.
player_headshot character URL to the player headshot image.
regular_season logical Whether the row is regular-season roster.
team character Team name.

Examples

try(pwhl_team_roster(season = 2023, team = "Toronto"))

PWHL Teams

Description

PWHL Teams lookup

Usage

pwhl_teams()

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
team_name character Full team name.
team_id character Unique team identifier.
team_code character Team abbreviation/code.
team_nickname character Team nickname.
team_label character Short city label.
division character Division identifier.
team_logo character URL to the team logo image.

Examples

try(pwhl_teams())

PWHL Transactions

Description

Retrieves player transactions for a PWHL season.

Usage

pwhl_transactions(season = most_recent_pwhl_season(), game_type = "regular")

Arguments

season

Season (YYYY) to pull transactions from. Defaults to most_recent_pwhl_season().

game_type

Game type: "regular" (default), "preseason", or "playoffs".

Value

A data frame (fastRhockey_data) with the following columns:

col_name types description
transaction_type character Type of transaction.
title character Transaction title/headline.
ttype character Transaction type code.
ttype_text character Transaction type description.
transaction_date character Transaction date.
transaction_time character Transaction time.
formatted_transaction_date character Human-readable transaction date.
timezone character Time zone of the transaction.
player_id character Unique player identifier.
response1 character First response/detail field.
response2 character Second response/detail field.
first_name character Player first name.
last_name character Player last name.
player_name character Full player name.
position character Player position.
team_id character Unique team identifier.
team_city character Team city.
team_name character Team name.
team_code character Team abbreviation/code.
division character Division identifier.
team_logo character URL to the team logo image.
detail character Additional transaction detail.

Examples

try(pwhl_transactions(season = 2025))

Load .rds file from a remote connection

Description

Load .rds file from a remote connection

Usage

rds_from_url(url)

Arguments

url

a character url

Value

a dataframe as created by readRDS()


Force re-download of xG models

Description

Clears the cached xG model files and re-downloads them from the fastRhockey-nhl-data repository. Use this after models have been retrained and pushed to GitHub.

Usage

refresh_xg_models()

Value

Invisible NULL. Models are reloaded into the package namespace.

Examples

## Not run: 
  refresh_xg_models()

## End(Not run)

Update or create a fastRhockey NHL play-by-play database

Description

update_nhl_db() updates or creates a database with fastRhockey play by play data of all completed and available games since 2011.

Usage

update_nhl_db(
  dbdir = ".",
  dbname = "fastRhockey_db",
  tblname = "fastRhockey_nhl_pbp",
  force_rebuild = FALSE,
  db_connection = NULL
)

Arguments

dbdir

Directory in which the database is or shall be located

dbname

File name of an existing or desired SQLite database within dbdir

tblname

The name of the play by play data table within the database

force_rebuild

Hybrid parameter (logical or numeric) to rebuild parts of or the complete play by play data table within the database (please see details for further information)

db_connection

A DBIConnection object, as returned by DBI::dbConnect() (please see details for further information)

Details

This function creates and updates a data table with the name tblname within a SQLite database (other drivers via db_connection) located in dbdir and named dbname. The data table combines all play by play data for every available game back to the 2010 season and adds the most recent completed games as soon as they are available for fastRhockey.

The argument force_rebuild is of hybrid type. It can rebuild the play by play data table either for the whole fastRhockey era (with force_rebuild = TRUE) or just for specified seasons (e.g. force_rebuild = c(2019, 2020)). Please note the following behavior:

  • force_rebuild = TRUE: The data table with the name tblname will be removed completely and rebuilt from scratch. This is helpful when new columns are added during the Off-Season.

  • force_rebuild = c(2019, 2020): The data table with the name tblname will be preserved and only rows from the 2019 and 2020 seasons will be deleted and re-added. This is intended to be used for ongoing seasons because ESPN's data provider can make changes to the underlying data during the week.

The parameter db_connection is intended for advanced users who want to use other DBI drivers, such as MariaDB, Postgres or odbc. Please note that the arguments dbdir and dbname are dropped in case a db_connection is provided but the argument tblname will still be used to write the data table into the database.

Value

Logical TRUE/FALSE


Update or create a fastRhockey PHF play-by-play database

Description

update_phf_db() updates or creates a database with fastRhockey play by play data of all completed and available games since 2011.

[Deprecated]

The PHF has ceased operations. This function is deprecated and will be removed in a future release.

Usage

update_phf_db(
  dbdir = ".",
  dbname = "fastRhockey_db",
  tblname = "fastRhockey_phf_pbp",
  force_rebuild = FALSE,
  db_connection = NULL
)

Arguments

dbdir

Directory in which the database is or shall be located

dbname

File name of an existing or desired SQLite database within dbdir

tblname

The name of the play by play data table within the database

force_rebuild

Hybrid parameter (logical or numeric) to rebuild parts of or the complete play by play data table within the database (please see details for further information)

db_connection

A DBIConnection object, as returned by DBI::dbConnect() (please see details for further information)

Details

This function creates and updates a data table with the name tblname within a SQLite database (other drivers via db_connection) located in dbdir and named dbname. The data table combines all play by play data for every available game back to the 2016 season and adds the most recent completed games as soon as they are available for fastRhockey.

The argument force_rebuild is of hybrid type. It can rebuild the play by play data table either for the whole fastRhockey era (with force_rebuild = TRUE) or just for specified seasons (e.g. force_rebuild = c(2019, 2020)). Please note the following behavior:

  • force_rebuild = TRUE: The data table with the name tblname will be removed completely and rebuilt from scratch. This is helpful when new columns are added during the Off-Season.

  • force_rebuild = c(2019, 2020): The data table with the name tblname will be preserved and only rows from the 2019 and 2020 seasons will be deleted and re-added. This is intended to be used for ongoing seasons because ESPN's data provider can make changes to the underlying data during the week.

The parameter db_connection is intended for advanced users who want to use other DBI drivers, such as MariaDB, Postgres or odbc. Please note that the arguments dbdir and dbname are dropped in case a db_connection is provided but the argument tblname will still be used to write the data table into the database.

Value

Logical TRUE/FALSE


Update or create a fastRhockey PWHL play-by-play database

Description

update_pwhl_db() updates or creates a database with fastRhockey play-by-play data of all completed and available PWHL games since the 2024 inaugural season.

Usage

update_pwhl_db(
  dbdir = ".",
  dbname = "fastRhockey_db",
  tblname = "fastRhockey_pwhl_pbp",
  force_rebuild = FALSE,
  db_connection = NULL
)

Arguments

dbdir

Directory in which the database is or shall be located

dbname

File name of an existing or desired SQLite database within dbdir

tblname

The name of the play-by-play data table within the database

force_rebuild

Hybrid parameter (logical or numeric) to rebuild parts of or the complete play-by-play data table within the database (please see details for further information)

db_connection

A DBIConnection object, as returned by DBI::dbConnect() (please see details for further information)

Details

This function creates and updates a data table with the name tblname within a SQLite database (other drivers via db_connection) located in dbdir and named dbname. The data table combines all play-by-play data for every available game back to the 2024 season and adds the most recent completed games as soon as they are available for fastRhockey.

The argument force_rebuild is of hybrid type. It can rebuild the play- by-play data table either for the whole fastRhockey PWHL era (with force_rebuild = TRUE) or just for specified seasons (e.g. force_rebuild = 2024). Please note the following behavior:

  • force_rebuild = TRUE: The data table with the name tblname will be removed completely and rebuilt from scratch.

  • force_rebuild = c(2024, 2025): The data table with the name tblname will be preserved and only rows from the specified seasons will be deleted and re-added.

The parameter db_connection is intended for advanced users who want to use other DBI drivers, such as MariaDB, Postgres or odbc. Please note that the arguments dbdir and dbname are dropped in case a db_connection is provided but the argument tblname will still be used to write the data table into the database.

Value

Invisible NULL. Side effect: updates the database.

Examples

## Not run: 
  update_pwhl_db()

## End(Not run)