Skip to content

nhlscraper

Scraper for National Hockey League Data

v0.6.1 · May 24, 2026 · GPL (>= 3)

Description

Scrapes and cleans data from the 'NHL' and 'ESPN' APIs into data.frames and lists. Wraps 125+ endpoints documented in <https://github.com/RentoSaijo/nhlscraper/wiki> from high-level multi-season summaries and award winners to low-level decisecond replays and bookmakers' odds, making them more accessible. Features cleaning and visualization tools, primarily for play-by-plays.

Downloads

667

Last 30 days

4716th

1.7K

Last 90 days

4.3K

Last year

Trend: +2.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 7, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘nhlscraper-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmp3VI9R2/file237df072dca645/wsc_play_by_plays.R': No space left on device
Execution halted
 NONE
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 6, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 4, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'back-to-back-tax.Rmd' using rmarkdown
--- finished re-building 'back-to-back-tax.Rmd'

--- re-building 'draft-size-bias.Rmd' using rmarkdown
--- finished re-building 'draft-size-bias.Rmd'

--- re-bu
...[truncated]...
ayoff-size.Rmd'

--- re-building 'team-edge-archetypes.Rmd' using rmarkdown
--- finished re-building 'team-edge-archetypes.Rmd'

SUMMARY: processing the following file failed:
  'playoff-size.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies httr2 jsonlite xml2 arrow nhlscraper

Version History

updated 0.6.1 ← 0.6.0 diff May 24, 2026
updated 0.6.0 ← 0.5.0 diff Apr 7, 2026
new 0.5.0 Mar 10, 2026
updated 0.5.0 ← 0.4.2 diff Feb 23, 2026
updated 0.4.2 ← 0.4.1 diff Jan 28, 2026
updated 0.4.1 ← 0.4.0 diff Dec 16, 2025
updated 0.4.0 ← 0.2.0 diff Nov 29, 2025
updated 0.2.0 ← 0.1.1 diff Jul 16, 2025
new 0.1.1 Jun 10, 2025