The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

nhlscraper: Scraper for National Hockey League Data

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.

Version: 0.6.0
Depends: R (≥ 4.1.0)
Imports: httr2 (≥ 1.2.0), jsonlite (≥ 2.0.0), xml2 (≥ 1.5.0), arrow (≥ 23.0.0)
Suggests: testthat (≥ 3.0.0), knitr (≥ 1.50.0), rmarkdown (≥ 2.29.0)
Published: 2026-04-07
DOI: 10.32614/CRAN.package.nhlscraper
Author: Rento Saijo ORCID iD [aut, cre, cph], Lars Skytte [ctb], Jack Pallotta ORCID iD [ctb]
Maintainer: Rento Saijo <rentosaijo0527 at gmail.com>
BugReports: https://github.com/RentoSaijo/nhlscraper/issues
License: GPL (≥ 3)
Copyright: Copyright: NHL and the NHL Shield are registered trademarks of the National Hockey League. NHL and NHL team marks are the property of the NHL and its teams.
URL: https://rentosaijo.github.io/nhlscraper/, https://github.com/RentoSaijo/nhlscraper
NeedsCompilation: yes
Materials: README, NEWS
In views: SportsAnalytics
CRAN checks: nhlscraper results

Documentation:

Reference manual: nhlscraper.html , nhlscraper.pdf
Vignettes: How Costly Are Back-to-Backs in the Salary-Cap Era? (source, R code)
Did the NHL Draft's Size Obsession Peak in the 1990s? (source, R code)
How nhlscraper's Expected Goals Model Works (source, R code)
What Separated Florida and Edmonton in Game 7? (source, R code)
How gc_play_by_play() and wsc_play_by_play() Work (source, R code)
Do Bigger Skaters Hold Their Scoring in the Playoffs? (source, R code)
Do Elite Teams Really All Play the Same Way? (source, R code)

Downloads:

Package source: nhlscraper_0.6.0.tar.gz
Windows binaries: r-devel: nhlscraper_0.6.0.zip, r-release: nhlscraper_0.6.0.zip, r-oldrel: nhlscraper_0.6.0.zip
macOS binaries: r-release (arm64): nhlscraper_0.6.0.tgz, r-oldrel (arm64): nhlscraper_0.5.0.tgz, r-release (x86_64): nhlscraper_0.6.0.tgz, r-oldrel (x86_64): nhlscraper_0.6.0.tgz
Old sources: nhlscraper archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nhlscraper to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.