fivethirtyeight_nhl_1917_2023

66,118 comparisons among 40 agents.

About this table

DescriptionNHL games 1917-18 to 2022-23 incl. playoffs (66,118 games, 40 teams); agent_a = home, homefield blank for 291 neutral-site games; shootout goal counted in score; pre-2005 ties kept as draws
ReferenceFiveThirtyEight. NHL Elo game file (nhl_elo.csv) [Data set]. Internet Archive capture of 2025-03-06.
LicenceCC BY 4.0
Source datahttps://github.com/fivethirtyeight/data/tree/master/nhl-forecasts

Size and shape

Comparisons66,118
Agents40

Columns

agent_aagent_bdatehomefieldovertimeplayoffscore_ascore_bseasonwinner

Get the data

Download CSVno account neededBrowse on Redivisexplore and queryCroissant metadataHugging Face, Kaggle, OpenML

Or load it directly in R (no account needed with irw 1.4.0 or later) or Python (needs a free Redivis account; the first call opens a browser to sign in):

# R
install.packages("irw")
library(irw)
df <- irw_fetch("fivethirtyeight_nhl_1917_2023", source = "comp")
# Python
pip install irw

import irw
df = irw.fetch("fivethirtyeight_nhl_1917_2023", source="comp")

Or in Stata, which reads the same no-account CSV as the button above:

* Stata
net install irw, from("https://raw.githubusercontent.com/itemresponsewarehouse/Stata-pkg/main/")

irw_fetch fivethirtyeight_nhl_1917_2023, clear source(comp)

How to cite

@dataset{fivethirtyeight_nhl_elo_2025,
  author = {FiveThirtyEight},
  title = {NHL Elo game file (nhl_elo.csv)},
  year = {2025},
  url = {https://github.com/fivethirtyeight/data/tree/master/nhl-forecasts},
  note = {Internet Archive capture of 2025-03-06}
}

Version and provenance

IRW versionv800
Redivis datasetirw_competitions v7.3
Redivis dataset DOI10.57761/tmwp-h769
Manifest pin for this IRW versionv7.3
Metadata sourceirw_meta v89.0