Play-by-play data

These are the functions to gather play-by-play data from the NHL API.

load_pbp()

Load season play-by-play

scrape_game()

Scrape game play-by-play

scrape_season()

Scrape full season play-by-play

scrape_day()

Scrape play-by-play for single day's games

get_game_ids()

Fetch game IDs for a single day or a full season

get_game_info()

Gather basic game information

get_game_rosters()

Scrape game day rosters for individual game

get_game_shifts()

Fetch game shift data

fix_player_columns()

Fix event player columns

Hockey-reference.com data

Functions to scrape data from hockey-reference.com

get_team_records()

Get team records from hockey-reference.com

get_rosters()

Get team rosters from hockey-reference.com

get_jersey_players()

Get Players by Jersey Number

get_player_stats_hr()

Get player counting stats from hockey-reference.com

Data objects

Internal package Data

team_logos_colors

Team logos & colors