NEWS.md
calculate_individual
to ensure players with 0 shot events recorded still show up in final stats data (affects individual game stats mostly)polite
dependency, shifted to entirely rvest
scrapingscrape_game
team_logos_colors
(#6)calculate_toi
calculates the time on ice for all skaters in a supplied play-by-play setcalculate_on_ice
calculates player on-ice statistics for all skaters in a supplied play-by-play setcalculate_individual
calculates player individual statistics for all skaters in a supplied play-by-play setget_standings
pulls standings and team stats for given seasons from NHL.com
load_pbp
includes new column for expected goalsscrape_game
function has been adjusted to automatically add expected goals to the outputscrape_game()
function runs about 4x faster nowThree new functions have been added:
get_team_roster()
fetches the current roster for a single team from nhl.com
get_current_rosters()
fetches current rosters for all 32 teams from nhl.com
get_draft_class()
fetches all draft selections for a single draft year from nhl.com
get_game_info()
& get_game_rosters()
functions to require game_id
as the argument rather than raw json datascrape_game()
function to accommodate above changesget_goalie_stats()
function to scrape season goalie stats from hockey-reference.com
get_skater_stats()
function to scrape season skater stats from hockey-reference.com
%>%
rather than the native R |>
load_pbp()
function