### Example: load_nhl_pbp_lite(2026) with output Source: https://fastrhockey.sportsdataverse.org/reference/load_nhl_pbp_lite.html Example call wrapped in try() and \donttest{}, showing the returned tibble with 443,569 rows and 94 columns. The output includes metadata lines and a preview of the data. ```r # \donttest{ try(load_nhl_pbp_lite(2026)) #> ── NHL play-by-play data (lite) ────────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-07-22 23:49:22 UTC #> # A tibble: 443,569 × 94 #> event_type event secondary_type event_team_abbr event_team_type description #> #> 1 FACEOFF Face… NA CHI away Jason Dick… #> 2 PERIOD_START Peri… NA NA NA Start of P… #> 3 BLOCKED_SHOT Bloc… NA CHI away Brad March… #> 4 STOP Stop… NA NA NA Stoppage i… #> 5 FACEOFF Face… NA CHI away Jason Dick… #> 6 GIVEAWAY Give… NA FLA home Giveaway b… #> 7 GIVEAWAY Give… NA CHI away Giveaway b… #> 8 BLOCKED_SHOT Bloc… NA CHI away Mackie Sam… #> 9 STOP Stop… NA NA NA Stoppage i… #> 10 FACEOFF Face… NA FLA home Jesper Boq… #> # ℹ 443,559 more rows #> # ℹ 88 more variables: period , period_type , period_time , #> # period_seconds , period_seconds_remaining , #> # period_time_remaining , game_seconds , #> # game_seconds_remaining , home_score , away_score , #> # event_player_1_name , event_player_1_type , #> # event_player_1_id , event_player_2_name , … # } ``` -------------------------------- ### Example: espn_nhl_game_team_record with error output Source: https://fastrhockey.sportsdataverse.org/reference/espn_nhl_game_team_record.html Calls espn_nhl_scoreboard to get a game ID, then espn_nhl_game_teams to get a team ID, and finally espn_nhl_game_team_record to fetch the team record. The example is wrapped in try() and shows the error output when the record is unavailable, including the invalid arguments message and an empty data frame. ```r # \donttest{ 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]) }) #> ✖ 2026-10-13 01:52:48.675975: Invalid arguments or no ESPN nhl game record for event 401688263 / team 5 available! #> ✖ Args: league = "nhl", event_id = "401688263", cid = "401688263", team_id = "5" #> ✖ Error: The API returned an error #> data frame with 0 columns and 0 rows # } ``` -------------------------------- ### R example with error handling for espn_wch_game_play_personnel Source: https://fastrhockey.sportsdataverse.org/reference/espn_wch_game_play_personnel.html This example uses try() to handle errors. It first gets the scoreboard for a date, extracts the first game ID, gets plays for that game, and then calls espn_wch_game_play_personnel with the event ID and first play ID. The output shows error messages from the API and a resulting empty data frame. ```R # \donttest{ try({ sb <- espn_wch_scoreboard(dates = "20250110") eid <- sb$game_id[1] pls <- espn_wch_game_plays(event_id = eid) espn_wch_game_play_personnel(event_id = eid, play_id = pls$id[1]) }) #> ✖ 2026-10-13 01:53:44.776074: #> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL, limit = 1000 #> ✖ Error: The API returned an error #> ✖ 2026-10-13 01:53:44.808986: #> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL, play_id = NULL #> ✖ Error: The API returned an error #> data frame with 0 columns and 0 rows # } ``` -------------------------------- ### Example: nhl_stats_content_module with template_key Source: https://fastrhockey.sportsdataverse.org/reference/nhl_stats_content_module.html Example call wrapped in try() and \donttest{}. On failure, prints a message and returns NULL. ```r # \donttest{ try(nhl_stats_content_module(template_key = "example")) #> 2026-10-13 01:58:09.255325: No content module data for 'example' #> NULL # } ``` -------------------------------- ### qmjhl_schedule() usage and example Source: https://fastrhockey.sportsdataverse.org/reference/qmjhl_schedule.html The usage signature shows the function arguments. The example calls qmjhl_schedule() without arguments to get the newest regular season schedule, and the output is a fastRhockey_data tibble with one row per game. ```r qmjhl_schedule(season = NULL, season_id = NULL) ``` ```r try(qmjhl_schedule()) #> ── QMJHL Schedule from HockeyTech ──────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:59:03 UTC #> # A tibble: 580 × 12 #> game_id game_date game_status home_team home_team_id home_score away_team #> #> 1 32940 2026-09-18T1… Final Newfound… 2 2 Saint Jo… #> 2 32715 2026-09-18T1… Final SO Cape Bre… 3 4 Halifax,… #> 3 32747 2026-09-18T1… Final Charlott… 7 3 Moncton,… #> 4 32779 2026-09-18T1… Final Chicouti… 10 2 Shawinig… #> 5 32651 2026-09-18T1… Final Baie-Com… 16 2 Rimouski… #> 6 33199 2026-09-18T1… Final Victoria… 17 3 Val-d'Or… #> 7 32683 2026-09-18T1… Final Blainvil… 19 2 Rouyn-No… #> 8 33134 2026-09-18T1… Final Sherbroo… 60 4 Québec, … #> 9 32652 2026-09-19T1… Final Baie-Com… 16 2 Rimouski… #> 10 32843 2026-09-19T1… Final Gatineau… 12 4 Rouyn-No… #> # ℹ 570 more rows #> # ℹ 5 more variables: away_team_id , away_score , venue , #> # season_id , game_type ``` -------------------------------- ### nhl_meta examples with output Source: https://fastrhockey.sportsdataverse.org/reference/nhl_meta.html Three example calls demonstrating each supported mode: no arguments, game_id, and year with series_letter. Each call is wrapped in try() and followed by its printed output. The first returns empty lists for players, teams, and seasonStates; the second returns team and season state data; the third returns playoff-series metadata. ```r # \donttest{ try(nhl_meta()) #> $players #> list() #> #> $teams #> list() #> #> $seasonStates #> list() #> try(nhl_meta(game_id = 2024020001)) #> $teams #> tricode teamId teamSlug name.default name.fr #> 1 NJD 1 new-jersey-devils-1 New Jersey Devils Devils du New Jersey #> 2 BUF 7 buffalo-sabres-7 Buffalo Sabres Sabres de Buffalo #> #> $seasonStates #> $seasonStates$date #> [1] "2024-10-04" #> #> $seasonStates$gameType #> [1] 2 #> #> $seasonStates$season #> [1] 20242025 #> #> #> $gameState #> [1] "OFF" #> try(nhl_meta(year = 2024, series_letter = "a")) #> $seriesTitle #> [1] "1st Round" #> #> $teams #> $teams$topSeed #> $teams$topSeed$name #> $teams$topSeed$name$default #> [1] "Florida Panthers" #> #> $teams$topSeed$name$fr #> [1] "Panthers de la Floride" #> #> #> $teams$topSeed$commonName #> $teams$topSeed$commonName$default #> [1] "Panthers" #> #> #> $teams$topSeed$tricode #> [1] "FLA" #> #> $teams$topSeed$teamSlug #> [1] "florida-panthers-13" #> #> #> $teams$bottomSeed #> $teams$bottomSeed$name #> $teams$bottomSeed$name$default #> [1] "Tampa Bay Lightning" #> #> $teams$bottomSeed$name$fr #> [1] "Lightning de Tampa Bay" #> #> #> $teams$bottomSeed$commonName #> $teams$bottomSeed$commonName$default #> [1] "Lightning" #> #> #> $teams$bottomSeed$tricode #> [1] "TBL" #> #> $teams$bottomSeed$teamSlug #> [1] "tampa-bay-lightning-14" #> #> #> # } ``` -------------------------------- ### Example: shl_athlete_seasons with athlete_uuid and master_site_instance_id Source: https://fastrhockey.sportsdataverse.org/reference/shl_athlete_seasons.html Example call that retrieves season information for a specific athlete. The output is a tibble with 15 rows showing season start years and labels, and includes a message about data update time. ```r # \donttest{ shl_athlete_seasons(athlete_uuid = "qQ9-349c7WDv6", master_site_instance_id = "shl1_shl") #> ── SHL Athlete Seasons Information from www.shl.se ─── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:59:10 UTC #> # A tibble: 15 × 3 #> value name label #> #> 1 2026 2026/2027 2026/2027 #> 2 2025 2025/2026 2025/2026 #> 3 2024 2024/2025 2024/2025 #> 4 2023 2023/2024 2023/2024 #> 5 2022 2022/2023 2022/2023 #> 6 2015 2015/2016 2015/2016 #> 7 2014 2014/2015 2014/2015 #> 8 2013 2013/2014 2013/2014 #> 9 2012 2012/2013 2012/2013 #> 10 2011 2011/2012 2011/2012 #> 11 2010 2010/2011 2010/2011 #> 12 2009 2009/2010 2009/2010 #> 13 2008 2008/2009 2008/2009 #> 14 2007 2007/2008 2007/2008 #> 15 2006 2006/2007 2006/2007 # } ``` -------------------------------- ### Example: call nhl_smartlinks() Source: https://fastrhockey.sportsdataverse.org/reference/nhl_smartlinks.html Example call to nhl_smartlinks() wrapped in try() to handle errors. The expected output is an empty list. ```r # \donttest{ try(nhl_smartlinks()) #> list() # } ``` -------------------------------- ### shl_schedule(season = 2026) example with output Source: https://fastrhockey.sportsdataverse.org/reference/shl_schedule.html Example call to shl_schedule() for the 2026 season, showing the returned tibble with 364 rows and 42 columns. The output includes game UUIDs, start times, state, overtime, and shootout flags. The example is wrapped in \donttest{} to avoid CRAN test issues. ```r # \donttest{ shl_schedule(season = 2026) #> ── SHL Schedule Information from www.shl.se ────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:59:25 UTC #> # A tibble: 364 × 42 #> game_uuid raw_start_date_time start_date_time state overtime shootout #> #> 1 bdhvuc5tex 2025-09-13T13:15:00.000Z 2025-09-13 15:15… post… FALSE FALSE #> 2 c98ytzvqnc 2025-09-13T13:15:00.000Z 2025-09-13 15:15… post… FALSE FALSE #> 3 ohx2e9aofl 2025-09-13T13:15:00.000Z 2025-09-13 15:15… post… FALSE FALSE #> 4 c2ukp33wez 2025-09-13T16:00:00.000Z 2025-09-13 18:00… post… TRUE FALSE #> 5 ds1mrdpfo2 2025-09-13T16:00:00.000Z 2025-09-13 18:00… post… FALSE FALSE #> 6 rdzmudkxwd 2025-09-13T16:00:00.000Z 2025-09-13 18:00… post… FALSE FALSE #> 7 s2a1at20o5 2025-09-13T16:00:00.000Z 2025-09-13 18:00… post… FALSE FALSE #> 8 cexeiyibd5 2025-09-16T17:00:00.000Z 2025-09-16 19:00… post… FALSE FALSE #> 9 gez145lpie 2025-09-16T17:00:00.000Z 2025-09-16 19:00… post… FALSE FALSE #> 10 jhg1bzfao7 2025-09-16T17:00:00.000Z 2025-09-16 19:00… post… FALSE FALSE #> # ℹ 354 more rows #> # ℹ 36 more variables: ssgt_uuid , home_team_status , #> # home_team_uuid , home_team_owner_instance_id , #> # home_team_code , home_team_names_code , #> # home_team_names_short , home_team_names_long , #> # home_team_names_full , home_team_names_code_site , #> # home_team_names_short_site , home_team_names_full_site , … } ``` -------------------------------- ### Example: try(nhl_player_spotlight()) with output Source: https://fastrhockey.sportsdataverse.org/reference/nhl_player_spotlight.html Example usage wrapped in try() to handle potential errors. The output shows a tibble with 10 rows and 13 columns, including player_id, player_slug, position, sweater_number, team_id, headshot, team_tri_code, and more. The data is updated as of 2026-10-13 01:57:34 UTC. ```r # \donttest{ try(nhl_player_spotlight()) #> ── NHL Player Spotlight ────────────────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:57:34 UTC #> # A tibble: 10 × 13 #> player_id player_slug position sweater_number team_id headshot team_tri_code #> #> 1 8481540 cole-caufie… R 13 8 https:/… MTL #> 2 8484801 macklin-cel… C 71 28 https:/… SJS #> 3 8471675 sidney-cros… C 87 5 https:/… PIT #> 4 8478403 jack-eichel… C 9 54 https:/… VGK #> 5 8480800 quinn-hughe… D 43 30 https:/… MIN #> 6 8477492 nathan-mack… C 29 21 https:/… COL #> 7 8478402 connor-mcda… C 97 22 https:/… EDM #> 8 8486067 gavin-mcken… L 92 10 https:/… TOR #> 9 8471214 alex-ovechk… L 8 15 https:/… WSH #> 10 8485366 matthew-sch… D 48 2 https:/… NYI #> # ℹ 6 more variables: team_logo , sort_id , name_default , #> # name_cs , name_fi , name_sk # } ``` -------------------------------- ### Example: qmjhl_standings() with output Source: https://fastrhockey.sportsdataverse.org/reference/qmjhl_standings.html Example call to qmjhl_standings() wrapped in try(), followed by the printed output showing a tibble with 18 rows and 20 columns. The output includes a data updated timestamp and column names such as team_code, wins, losses, and points. ```r try(qmjhl_standings()) ``` ```output #> ── QMJHL Standings from HockeyTech ─────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:59:04 UTC #> # A tibble: 18 × 20 #> team_code wins losses ot_losses ot_wins shootout_wins shootout_losses row #> #> 1 Que 7 1 0 1 0 0 7 #> 2 SNB 6 1 1 1 2 1 4 #> 3 Rim 6 2 1 0 0 0 6 #> 4 NFL 6 3 1 2 0 0 6 #> 5 Cha 5 4 2 0 1 0 4 #> 6 Hal 4 1 3 1 2 0 2 #> 7 Mon 5 3 0 3 1 0 4 #> 8 Chi 4 5 0 0 0 0 4 #> 9 Cap 2 3 1 1 0 3 2 #> 10 BaC 0 7 0 0 0 1 0 #> 11 She 6 1 1 1 0 0 6 #> 12 VdO 6 1 1 1 0 0 6 #> 13 Vic 6 3 0 1 0 0 6 #> 14 Rou 5 3 2 1 0 0 5 #> 15 Gat 5 3 2 1 1 0 4 #> 16 Dru 2 5 0 0 0 2 2 #> 17 BLB 3 7 0 2 0 0 3 #> 18 Sha 2 4 1 0 0 0 2 #> # ℹ 12 more variables: points , penalty_minutes , streak , #> # goals_for , goals_against , goals_diff , percentage , #> # overall_rank , games_played , team_rank , past_10 , #> # team ``` -------------------------------- ### Example: Full team listing and single team by ID Source: https://fastrhockey.sportsdataverse.org/reference/nhl_stats_team_listing.html Demonstrates calling nhl_stats_team_listing() without arguments to get the full league listing, and with team_id = 10 to get a single team. The output shows the resulting tibbles with columns id, franchise_id, full_name, league_id, raw_tricode, and tri_code. ```r # \donttest{ try(nhl_stats_team_listing()) #> ── NHL Stats Team Listing ──────────────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:58:13 UTC #> # A tibble: 62 × 6 #> id franchise_id full_name league_id raw_tricode tri_code #> #> 1 32 27 Quebec Nordiques 133 QUE QUE #> 2 8 1 Montréal Canadiens 133 MTL MTL #> 3 58 5 Toronto St. Patricks 133 TSP TSP #> 4 7 19 Buffalo Sabres 133 BUF BUF #> 5 46 13 Oakland Seals 133 OAK OAK #> 6 48 23 Kansas City Scouts 133 KCS KCS #> 7 36 3 Ottawa Senators (1917) 133 SEN SEN #> 8 70 NA To be determined 133 TBD TBD #> 9 11 35 Atlanta Thrashers 133 ATL ATL #> 10 45 3 St. Louis Eagles 133 SLE SLE #> # ℹ 52 more rows try(nhl_stats_team_listing(team_id = 10)) #> ── NHL Stats Team Listing ──────────────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:58:14 UTC #> # A tibble: 1 × 6 #> id franchise_id full_name league_id raw_tricode tri_code #> #> 1 10 5 Toronto Maple Leafs 133 TOR TOR # } ``` -------------------------------- ### Example: qmjhl_leaders() with output Source: https://fastrhockey.sportsdataverse.org/reference/qmjhl_leaders.html Example call to qmjhl_leaders() with no arguments, wrapped in try(). The output shows a tibble with 10 rows and 15 columns, including rank, player_id, jersey_number, name, team_id, team_name, team_code, team_logo, and additional variables. The output includes a header indicating data updated timestamp. ```R try(qmjhl_leaders()) #> ── QMJHL Leaders from HockeyTech ───────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:59:01 UTC #> # A tibble: 10 × 15 #> rank player_id jersey_number name team_id team_name team_code team_logo #> #> 1 1 20174 44 Philippe… 15 Val-d'Or… VdO https://… #> 2 2 23337 19 James Sc… 9 Québec, … Que https://… #> 3 3 19592 13 Matthew … 7 Charlott… Cha https://… #> 4 4 19542 24 Mathys D… 18 Rimouski… Rim https://… #> 5 5 19527 17 Thomas D… 17 Victoria… Vic https://… #> 6 1 19542 24 Mathys D… 18 Rimouski… Rim https://… #> 7 2 23736 88 Maxime S… 15 Val-d'Or… VdO https://… #> 8 3 23337 19 James Sc… 9 Québec, … Que https://… #> 9 4 19547 95 Alexis M… 2 Newfound… NFL https://… #> 10 5 23770 71 Alexey V… 17 Victoria… Vic https://… #> # ℹ 7 more variables: team_logo_small , stat_formatted , #> # type_formatted , photo , photo_small , position , #> # division ``` -------------------------------- ### Example: espn_wch_game_team_leaders with error handling Source: https://fastrhockey.sportsdataverse.org/reference/espn_wch_game_team_leaders.html This example retrieves the scoreboard for a specific date, extracts the first game ID, gets the teams for that game, and then calls espn_wch_game_team_leaders with the event ID and team ID. The output shows an error because the API returned an error, resulting in an empty data frame. ```r # \donttest{ try({ sb <- espn_wch_scoreboard(dates = "20250110") eid <- sb$game_id[1] tms <- espn_wch_game_teams(event_id = eid) espn_wch_game_team_leaders(event_id = eid, team_id = tms$team_id[1]) }) #> ✖ 2026-10-13 01:53:47.059725: #> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL #> ✖ Error: The API returned an error #> ✖ 2026-10-13 01:53:47.093696: #> ✖ Args: league = "womens-college-hockey", event_id = NULL, cid = NULL, team_id = NULL #> ✖ Error: The API returned an error #> data frame with 0 columns and 0 rows # } ``` -------------------------------- ### Example: nhl_goalie_stats_leaders() with output Source: https://fastrhockey.sportsdataverse.org/reference/nhl_goalie_stats_leaders.html Example call with default parameters, wrapped in try() and \donttest{}. The output shows a tibble with 20 rows and 15 columns of goalie leader data. ```r # \donttest{ try(nhl_goalie_stats_leaders()) #> ── NHL Goalie Stats Leaders ────────────────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:57:31 UTC #> # A tibble: 20 × 15 #> id sweater_number headshot team_abbrev team_logo position value #> #> 1 8480280 1 https://assets.n… BOS https://… G 4 #> 2 8476999 35 https://assets.n… OTT https://… G 4 #> 3 8482661 30 https://assets.n… MIN https://… G 3 #> 4 8478048 31 https://assets.n… NYR https://… G 3 #> 5 8478872 70 https://assets.n… UTA https://… G 3 #> 6 8479979 29 https://assets.n… DAL https://… G 2 #> 7 8484170 32 https://assets.n… MTL https://… G 1 #> 8 8480193 80 https://assets.n… DET https://… G 1 #> 9 8482193 33 https://assets.n… NYR https://… G 1 #> 10 8480981 30 https://assets.n… STL https://… G 1 #> 11 8480193 80 https://assets.n… DET https://… G 0.974 #> 12 8479979 29 https://assets.n… DAL https://… G 0.963 #> 13 8482193 33 https://assets.n… NYR https://… G 0.946 #> 14 8476999 35 https://assets.n… OTT https://… G 0.942 #> 15 8483703 1 https://assets.n… PIT https://… G 0.939 #> 16 8480193 80 https://assets.n… DET https://… G 0.660 #> 17 8479979 29 https://assets.n… DAL https://… G 0.743 #> 18 8482193 33 https://assets.n… NYR https://… G 1.20 #> 19 8476999 35 https://assets.n… OTT https://… G 1.34 #> 20 8484170 32 https://assets.n… MTL https://… G 1.46 #> # ℹ 8 more variables: first_name_default , last_name_default , #> # team_name_default , team_name_fr , last_name_cs , #> # last_name_fi , last_name_sk , category # } ``` -------------------------------- ### elh_events() example with output Source: https://fastrhockey.sportsdataverse.org/reference/elh_events.html Example call to `elh_events()` with a sample `match_id`, wrapped in `try()` and `\donttest{}`. The output shows a tibble with 120 rows (home and away teams) and columns for start date, team side, team name, team score, minute, shots, and shots on goal. ```r # \donttest{ try(elh_events(match_id = 2928321)) #> ── ELH Events Information from hokej.cz ────────────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:51:53 UTC #> # A tibble: 120 × 7 #> start_date team_side team_name team_score minute shots shots_on_goal #> #> 1 2026-10-11 15:00 home HC Sparta P… 3 1 1 0 #> 2 2026-10-11 15:00 home HC Sparta P… 3 2 4 0 #> 3 2026-10-11 15:00 home HC Sparta P… 3 3 5 1 #> 4 2026-10-11 15:00 home HC Sparta P… 3 4 6 2 #> 5 2026-10-11 15:00 home HC Sparta P… 3 5 6 2 #> 6 2026-10-11 15:00 home HC Sparta P… 3 6 9 4 #> 7 2026-10-11 15:00 home HC Sparta P… 3 7 11 5 #> 8 2026-10-11 15:00 home HC Sparta P… 3 8 13 6 #> 9 2026-10-11 15:00 home HC Sparta P… 3 9 14 6 #> 10 2026-10-11 15:00 home HC Sparta P… 3 10 15 7 #> # ℹ 110 more rows # } ``` -------------------------------- ### Example: nhl_stats_config with try and output Source: https://fastrhockey.sportsdataverse.org/reference/nhl_stats_config.html Calls nhl_stats_config() inside try() and shows the resulting configuration list structure, including playerReportData summary and realtime sections. ```R # \donttest{ try(nhl_stats_config()) #> $playerReportData #> $playerReportData$summary #> $playerReportData$summary$game #> $playerReportData$summary$game$displayItems #> [1] "playerId" "skaterFullName" "gameId" #> [4] "opponentTeamAbbrev" "gameDate" "teamAbbrev" #> [7] "shootsCatches" "positionCode" "gamesPlayed" #> [10] "goals" "assists" "points" #> [13] "plusMinus" "penaltyMinutes" "pointsPerGame" #> [16] "evGoals" "evPoints" "ppGoals" #> [19] "ppPoints" "shGoals" "shPoints" #> [22] "otGoals" "gameWinningGoals" "shots" #> [25] "shootingPct" "timeOnIcePerGame" "faceoffWinPct" #> #> $playerReportData$summary$game$resultFilters #> [1] "gamesPlayed" "goals" "assists" "points" #> [5] "plusMinus" "penaltyMinutes" "pointsPerGame" "evGoals" #> [9] "evPoints" "ppGoals" "ppPoints" "shGoals" #> [13] "shPoints" "otGoals" "gameWinningGoals" "shots" #> [17] "shootingPct" "timeOnIcePerGame" "faceoffWinPct" #> #> $playerReportData$summary$game$sortKeys #> [1] "points" "goals" "assists" #> #> #> $playerReportData$summary$season #> $playerReportData$summary$season$displayItems #> [1] "playerId" "skaterFullName" "seasonId" "teamAbbrevs" #> [5] "shootsCatches" "positionCode" "gamesPlayed" "goals" #> [9] "assists" "points" "plusMinus" "penaltyMinutes" #> [13] "pointsPerGame" "evGoals" "evPoints" "ppGoals" #> [17] "ppPoints" "shGoals" "shPoints" "otGoals" #> [21] "gameWinningGoals" "shots" "shootingPct" "timeOnIcePerGame" #> [25] "faceoffWinPct" #> #> $playerReportData$summary$season$resultFilters #> [1] "gamesPlayed" "goals" "assists" "points" #> [5] "plusMinus" "penaltyMinutes" "pointsPerGame" "evGoals" #> [9] "evPoints" "ppGoals" "ppPoints" "shGoals" #> [13] "shPoints" "otGoals" "gameWinningGoals" "shots" #> [17] "shootingPct" "timeOnIcePerGame" "faceoffWinPct" #> #> $playerReportData$summary$season$sortKeys #> [1] "points" "goals" "assists" #> #> #> #> $playerReportData$realtime #> $playerReportData$realtime$game #> $playerReportData$realtime$game$displayItems #> [1] "playerId" "skaterFullName" #> [3] "gameId" "opponentTeamAbbrev" #> [5] "gameDate" "teamAbbrev" #> [7] "shootsCatches" "positionCode" #> [9] "gamesPlayed" "timeOnIcePerGame" #> [11] "hits" "hitsPer60" #> [13] "blockedShots" "blockedShotsPer60" #> [15] "giveaways" "giveawaysPer60" #> [17] "takeaways" "takeawaysPer60" #> [19] "firstGoals" "otGoals" #> [21] "emptyNetGoals" "emptyNetAssists" #> [23] "emptyNetPoints" "totalShotAttempts" #> [25] "shotAttemptsBlocked" "missedShots" #> [27] "missedShotWideOfNet" "missedShotOverNet" #> } ``` -------------------------------- ### Development Setup Commands Source: https://fastrhockey.sportsdataverse.org/CONTRIBUTING.html Run these commands in order to set up the development environment: clone the repository, install all dependencies including Suggests, build documentation, and verify everything works. ```bash # Clone the repository # git clone https://github.com/sportsdataverse/fastRhockey.git # Install all dependencies (including Suggests) devtools::install_deps(dependencies = TRUE) # Build documentation devtools::document() # Verify everything works devtools::check() ``` -------------------------------- ### Retrieve NHL game broadcasts with espn_nhl_game_broadcasts Source: https://fastrhockey.sportsdataverse.org/reference/espn_nhl_game_broadcasts.html This example shows how to use espn_nhl_game_broadcasts to get broadcast information for a specific NHL game. It first calls espn_nhl_scoreboard to get the game ID, then passes it to the broadcasts function. The output is a tibble with 3 rows and 20 columns, including channel, station, and media details. ```R # \donttest{ try({ sb <- espn_nhl_scoreboard(dates = "20250110") espn_nhl_game_broadcasts(event_id = sb$game_id[1]) }) #> ── NHL Game Broadcasts data from ESPN core-v2 ──────── fastRhockey 1.0.0.9000 ── #> ℹ Data updated: 2026-10-13 01:52:42 UTC #> # A tibble: 3 × 20 #> event_id cid type_id type_short_name type_long_name type_slug channel #> #> 1 401688263 401688263 1 TV Television tv 825 #> 2 401688263 401688263 1 TV Television tv 1125 #> 3 401688263 401688263 1 TV Television tv 399 #> # ℹ 13 more variables: station , slug , priority , lang , #> # region , partnered , market_id , market_type , #> # media_id , media_name , media_short_name , #> # media_call_letters , media_slug # } ```