nhlscraper 0.5.0.9000
- Documentation website now features more guided examples and explanation articles.
-
replays()is now added to retrieve season-aggregate replays. -
contracts()now returns more contracts, dating back to the 90’s (and then some). -
shift_chart()(and consequentially,shift_charts()) now returns completed shift charts for all games where at least either one of API or HTML report is available. -
gc_play_by_play()andwsc_play_by_play()now return new schema.- HTML-report-derived on-ice goalie/skater ID columns are now added, limited to
faceoff,hit,shot-on-goal,giveaway,missed-shot,blocked-shot,goal,delayed-penalty,takeaway, andfailed-shot-attempt, whilesituationCode-derived strength/count columns remain available whereversituationCodeitself is available. Check out our “Article” section on the documentation website to learn more. -
add_shift_times()is now added to populate scalar on-ice shift time elapsed columns via C. -
add_deltas()now handles event-to-event deltas in C, returns raw and normalized X/Y deltas alongside distance and angle deltas, and properly handles same-second events and shootouts/penalty shots with1/nestimation. -
calculate_speed()is now defunct; useadd_deltas()instead.
- HTML-report-derived on-ice goalie/skater ID columns are now added, limited to
-
calculate_expected_goals()now uses a fixed six-partition ridge xG model.- The scorer now mirrors the training-time preprocessing with delta, biometric, previous-event, and shift-timing context where available, while keeping runtime dependencies minimal.
-
ig_game_shot_locations(),x_game_shot_locations(),ig_game_cumulative_expected_goals(), andx_game_cumulative_expected_goals()still acceptmodelfor backward compatibility, but it is now ignored. - Check out our “Article” section on the documentation website to learn more.
nhlscraper 0.5.0
CRAN release: 2026-02-24
- All return IDs, codes, and names are now standardized (i.e., no more arbitrary
idcolumns and inconsistent column names across functions). -
contracts()is now added to get all NHL contracts since the 2011-2012 season. -
ig_game_shot_locations()andx_game_shot_locations()now use continuous xG scale instead of bins. -
calculate_expected_goals()now combines the previous xG calculation functions; as a result,calculate_expected_goals_v1(),calculate_expected_goals_v2(), andcalculate_expected_goals_v3()are now defunct. -
calculate_speed()is now added to calculate event-to-event deltas in play-by-plays. -
add_shooter_biometrics()is now added to add shooter biometrics to Fenewick events in play-by-plays. -
add_goalie_biometrics()is now added to add goalie biometrics to Fenewick events in play-by-plays. -
ps()is now deprecated; usepss()instead.
nhlscraper 0.4.2
CRAN release: 2026-01-28
-
shift_charts()is now added to access season-aggregate shift charts. -
add_on_ice_players()is now added to merge play-by-plays with shift charts. - Previous cleaning functions are now internalized and implemented by default to:
-
shifts()is now deprecated; useshift_chart()instead.
nhlscraper 0.4.0
CRAN release: 2025-11-30
- Documentation website now features proper example.
- New functions to help clean the data are now available:
strip_game_id()strip_time_period()strip_situation_code()flag_is_home()flag_is_rebound()flag_is_rush()count_goals_shots()normalize_coordinates()calculate_distance()calculate_angle()
- New functions to run built-in models are now available:
calculate_expected_goals_v1()calculate_expected_goals_v2()calculate_expected_goals_v3()
- New function to help graph the data is now available:
- New functions to help share the data are now available:
nhlscraper 0.3.0
- Documentation website now features disclosure and history.
- Documentation is now standardized.
- All API calls now handle rate-limits with exponential backoff.
- Parameters are now standardized and can handle robust arguments.
- Error-handling is now more elegant, returning messages alongside empty data.
- New functions to access data about the entire league are now available:
- New functions to access data about the franchises are now available:
- New functions to access data about the teams are now available:
- New functions to access the team EDGE statistics are now available:
- New functions to access data about the players are now available:
- New functions to access data about the skaters are now available:
- New functions to access the skater EDGE statistics are now available:
- New functions to access data about the goalies are now available:
- New functions to access the goalie EDGE statistics are now available:
- New functions to access data about the games are now available:
- New functions to access data about the events (plays) are now available:
- New functions to access data about the playoffs are now available:
- New functions to access data about the awards are now available:
- New functions to access data about the drafts are now available:
- New function to access data about the general managers is now available:
- New functions to access data about the coaches are now available:
- New function to access data about the officials is now available:
- New functions to access other data are now available:
- Some functions are now deprecated:
get_seasons()get_standings_information()get_standings()get_schedule()get_venues()get_attendance()get_franchises()get_franchise_team_totals()get_franchise_season_by_season()get_franchise_vs_franchise()get_teams()get_team_seasons()get_team_roster()get_team_roster_statistics()get_team_prospects()get_team_schedule()get_players()get_player_landing()get_player_game_log()get_spotlight_players()get_skater_leaders()get_skater_milestones()get_goalie_leaders()get_goalie_milestones()get_games()get_scores()get_scoreboards()get_game_landing()get_game_story()get_game_boxscore()get_gc_play_by_play()get_wsc_play_by_play()get_shift_charts()get_bracket()get_series_schedule()get_awards()get_award_winners()get_drafts()get_draft_picks()get_draft_rankings()get_draft_tracker()get_officials()get_glossary()get_countries()get_streams()get_tv_schedule()get_partner_odds()
- Some functions are now defunct:
- New ESPN functions are now available:
- Some ESPN functions are now deprecated:
- Some ESPN functions are now defunct:
nhlscraper 0.2.0
CRAN release: 2025-07-17
- Documentation website now features dark theme and example.
- New functions to access data about the franchises are now available:
- New function to access data about the players is now available:
- New functions to access data about the playoffs are now available:
- New functions to access data about the awards are now available:
- New function to access data about the drafts is now available:
- New functions to access other data are now available:
- New functions to access the ESPN API are now available:
get_espn_teams()get_espn_team()get_espn_athletes()get_espn_athlete()get_espn_coaches()get_espn_coach()get_espn_coach_career()get_espn_events()get_espn_event()get_espn_event_play_by_play()get_espn_event_stars()get_espn_event_officials()get_espn_event_odds()get_espn_transactions()get_espn_injuries()get_espn_futures()
nhlscraper 0.1.0
-
News.mdnow tracks changelog. - New functions to access data about the entire league are now available:
- New functions to access data about the franchises/teams are now available:
- New functions to access data about the players are now available:
- New functions to access data about the skaters are now available:
- New functions to access data about the goalies are now available:
- New functions to access data about the games are now available:
- New function to access data about the playoffs is now available:
- New functions to access data about the drafts are now available:
- New functions to access other data are now available:
