Recent Releases of hockeyR
hockeyR - hockeyR v1.4.1
fixed bug loading team colors
- R
Published by danmorse314 over 2 years ago
hockeyR - hockeyR v1.4.0
- updated the game scrapers to use the new NHL API
- updated shift reports to use player IDs instead of names
- included additional column names left identical to raw JSON data from new API
- R
Published by danmorse314 over 2 years ago
hockeyR - hockeyR 1.3.0
hockeyR 1.3.0
- fixed
calculate_individualto ensure players with 0 shot events recorded still show up in final stats data (affects individual game stats mostly) - removed
politedependency, shifted to entirelyrvestscraping - added checks to fix failing hockey-reference scrapers
- removed lingering native pipe from readme and
scrape_game - fixed incorrect color code in
team_logos_colors(#6)
- R
Published by danmorse314 over 3 years ago
hockeyR - hockeyR v1.2.0
hockeyR 1.2.0
New functions added
calculate_toicalculates the time on ice for all skaters in a supplied play-by-play setcalculate_on_icecalculates player on-ice statistics for all skaters in a supplied play-by-play setcalculate_individualcalculates player individual statistics for all skaters in a supplied play-by-play setget_standingspulls standings and team stats for given seasons from NHL.com
Function updates
get_game_idsnow returns column for scheduled start time for each game%not_in%operator now defined globally within package
Bug fixes
get_draft_classnow works for classes prior to 1983 (first year player IDs existed)
- R
Published by danmorse314 over 3 years ago
hockeyR - hockeyR 1.1.0
hockeyR 1.1.0
New addition:
- Play-by-play data loaded through
load_pbpincludes new column for expected goals - Details on & code to create the hockeyR expected goals model can be found here
- The
scrape_gamefunction has been adjusted to automatically add expected goals to the output
New function:
calculate_xgadds expected goals column to pbp data (used insidescrape_game, not necessary to use this to get expected goal values)
Fixes:
- Changed the
player_idcolumn inget_draft_classtoprospect_id- proper NHLplayer_idcolumn only returns withplayer_detailsset toTRUE
- R
Published by danmorse314 almost 4 years ago
hockeyR - hockeyR 1.0.0
hockeyR 1.0.0
- The
scrape_game()function runs about 4x faster now
Three new functions have been added:
get_team_roster()fetches the current roster for a single team from nhl.comget_current_rosters()fetches current rosters for all 32 teams from nhl.comget_draft_class()fetches all draft selections for a single draft year from nhl.com
- R
Published by danmorse314 almost 4 years ago
hockeyR - hockeyR 0.1.0
hockeyR 0.1.0
- Updated DESCRIPTION to include R 4.1.0 dependency (#1)
- Added httr dependency for 'load_pbp()' function
- Added Getting Started vignette
- Added hockey-reference scraper vignette
- Initial CRAN release
- R
Published by danmorse314 over 4 years ago