Dataset Viewer
Auto-converted to Parquet Duplicate
game_id
int64
2.01B
2.03B
game_date
large_stringdate
2013-10-01 00:00:00
2026-10-17 00:00:00
time_start
large_stringdate
2013-10-01 23:00:00
2026-10-18 01:00:00
home_team
large_stringclasses
34 values
home_team_id
int64
1
68
away_team
large_stringclasses
34 values
away_team_id
int64
1
68
home_score
float64
0
11
away_score
float64
0
10
period_ending
large_stringclasses
3 values
winning_team
large_stringclasses
34 values
xg_for
float64
0.8
8.19
⌀
xg_against
float64
0.68
8.01
⌀
xg_diff
float64
-6.91
5.18
⌀
xg_pct_for
float64
0.12
0.85
⌀
hdcf_for
float64
0
30
⌀
hdcf_against
float64
0
31
⌀
gsax_for
float64
-6.32
6.7
⌀
gsax_against
float64
-6.57
5.73
⌀
season
int64
20.1M
20.3M
2,013,020,001
2013-10-01
2013-10-01T23:00:00Z
MTL
8
TOR
10
3
4
REG
TOR
3.369
3.167
0.202
0.5155
14
5
0.208
0.809
20,132,014
2,013,020,002
2013-10-01
2013-10-02T00:00:00Z
CHI
16
WSH
15
6
4
REG
CHI
3.161
2.557
0.604
0.5528
8
6
-0.478
-1.896
20,132,014
2,013,020,003
2013-10-01
2013-10-02T02:00:00Z
EDM
22
WPG
52
4
5
REG
WPG
3.79
3.438
0.352
0.5243
13
12
-1.146
0.54
20,132,014
2,013,020,004
2013-10-02
2013-10-02T23:30:00Z
PHI
4
TOR
10
1
3
REG
TOR
3.318
1.685
1.633
0.6632
9
6
-0.896
2.404
20,132,014
2,013,020,005
2013-10-02
2013-10-03T00:00:00Z
DET
17
BUF
7
2
1
REG
DET
2.644
1.494
1.15
0.639
6
5
0.858
1.102
20,132,014
2,013,020,006
2013-10-02
2013-10-03T01:30:00Z
COL
21
ANA
24
6
1
REG
COL
2.61
2.598
0.012
0.5012
6
6
2.141
-3.383
20,132,014
2,013,020,007
2013-10-03
2013-10-03T23:00:00Z
BOS
6
TBL
14
3
1
REG
BOS
2.122
2.428
-0.306
0.4664
6
6
2.096
-0.929
20,132,014
2,013,020,008
2013-10-03
2013-10-03T23:00:00Z
PIT
5
NJD
1
3
0
REG
PIT
1.614
2.656
-1.042
0.378
6
11
2.934
-0.827
20,132,014
2,013,020,009
2013-10-03
2013-10-03T23:00:00Z
WSH
15
CGY
20
5
4
SO
WSH
3.512
4.326
-0.814
0.4481
10
17
1.46
-1.784
20,132,014
2,013,020,010
2013-10-03
2013-10-04T00:30:00Z
STL
19
NSH
18
4
2
REG
STL
2.265
2.568
-0.303
0.4687
2
7
1.065
-1.341
20,132,014
2,013,020,011
2013-10-03
2013-10-04T00:00:00Z
MIN
30
LAK
26
2
3
SO
LAK
3.247
1.565
1.682
0.6748
10
6
-2.09
1.56
20,132,014
2,013,020,012
2013-10-03
2013-10-04T00:30:00Z
DAL
25
FLA
13
2
4
REG
FLA
2.791
3.604
-0.813
0.4364
5
16
1.348
1.105
20,132,014
2,013,020,013
2013-10-03
2013-10-04T02:00:00Z
PHX
27
NYR
3
4
1
REG
PHX
3.227
2.096
1.131
0.6062
10
6
1.456
-0.404
20,132,014
2,013,020,014
2013-10-03
2013-10-04T02:00:00Z
SJS
28
VAN
23
4
1
REG
SJS
3.544
2.318
1.226
0.6046
12
9
0.711
-0.3
20,132,014
2,013,020,015
2013-10-04
2013-10-04T23:00:00Z
BUF
7
OTT
9
0
1
REG
OTT
2.693
4.535
-1.842
0.3726
7
9
3.173
3.51
20,132,014
2,013,020,016
2013-10-04
2013-10-04T23:00:00Z
NJD
1
NYI
2
3
4
SO
NYI
4.282
4.077
0.205
0.5123
22
13
-0.319
1.302
20,132,014
2,013,020,017
2013-10-04
2013-10-04T23:00:00Z
CAR
12
DET
17
2
3
OT
DET
2.858
3.761
-0.903
0.4318
9
7
1.378
0.816
20,132,014
2,013,020,018
2013-10-04
2013-10-04T23:00:00Z
CBJ
29
CGY
20
3
4
REG
CGY
2.845
2.683
0.162
0.5147
11
6
-0.951
0.474
20,132,014
2,013,020,019
2013-10-04
2013-10-05T00:00:00Z
WPG
52
LAK
26
5
3
REG
WPG
3.254
3.376
-0.122
0.4908
8
15
1.003
-0.834
20,132,014
2,013,020,020
2013-10-04
2013-10-05T01:00:00Z
COL
21
NSH
18
3
1
REG
COL
3.297
2.27
1.027
0.5922
5
6
1.868
1.483
20,132,014
2,013,020,021
2013-10-05
2013-10-05T23:00:00Z
BOS
6
DET
17
4
1
REG
BOS
2.82
1.784
1.036
0.6125
9
3
1.395
-0.859
20,132,014
2,013,020,022
2013-10-05
2013-10-05T23:00:00Z
TOR
10
OTT
9
5
4
SO
TOR
4.031
3.234
0.797
0.5549
12
3
-1.293
-1.431
20,132,014
2,013,020,023
2013-10-05
2013-10-05T23:00:00Z
MTL
8
PHI
4
4
1
REG
MTL
3.327
2.156
1.171
0.6068
10
5
1.167
-0.851
20,132,014
2,013,020,024
2013-10-05
2013-10-05T23:00:00Z
NYI
2
CBJ
29
2
3
SO
CBJ
3.526
3.619
-0.093
0.4935
13
13
0.503
1.226
20,132,014
2,013,020,025
2013-10-05
2013-10-05T23:00:00Z
PIT
5
BUF
7
4
1
REG
PIT
4.437
1.324
3.113
0.7702
16
5
0.958
1.471
20,132,014
2,013,020,026
2013-10-05
2013-10-06T00:00:00Z
CHI
16
TBL
14
2
3
SO
TBL
4.295
2.554
1.741
0.6271
16
4
-1.17
2.819
20,132,014
2,013,020,027
2013-10-05
2013-10-06T00:00:00Z
STL
19
FLA
13
7
0
REG
STL
2.77
1.745
1.025
0.6135
7
6
1.984
-3.704
20,132,014
2,013,020,028
2013-10-05
2013-10-06T00:00:00Z
DAL
25
WSH
15
2
1
REG
DAL
3.431
2.354
1.077
0.5931
11
9
1.524
0.575
20,132,014
2,013,020,029
2013-10-05
2013-10-06T00:00:00Z
MIN
30
ANA
24
3
4
OT
ANA
3.486
1.95
1.536
0.6413
11
8
-1.36
1.013
20,132,014
2,013,020,030
2013-10-05
2013-10-06T02:00:00Z
VAN
23
EDM
22
6
2
REG
VAN
4.037
2.356
1.681
0.6315
13
3
0.377
-0.425
20,132,014
2,013,020,031
2013-10-05
2013-10-06T02:30:00Z
SJS
28
PHX
27
4
1
REG
SJS
6.786
1.61
5.176
0.8082
17
2
0.811
2.848
20,132,014
2,013,020,032
2013-10-06
2013-10-06T21:00:00Z
CAR
12
PHI
4
2
1
REG
CAR
2.749
1.577
1.172
0.6355
5
4
0.566
0.656
20,132,014
2,013,020,033
2013-10-06
2013-10-07T00:00:00Z
WPG
52
ANA
24
2
3
REG
ANA
1.922
3.657
-1.735
0.3445
4
13
1.583
-0.402
20,132,014
2,013,020,034
2013-10-06
2013-10-07T00:00:00Z
CGY
20
VAN
23
4
5
OT
VAN
3.293
3.022
0.271
0.5215
15
12
-1.495
0.185
20,132,014
2,013,020,035
2013-10-07
2013-10-08T01:30:00Z
EDM
22
NJD
1
5
4
SO
EDM
3.343
3.31
0.033
0.5025
11
5
-1.587
-2.201
20,132,014
2,013,020,036
2013-10-07
2013-10-08T02:30:00Z
LAK
26
NYR
3
1
3
REG
NYR
2.625
3.119
-0.494
0.457
8
8
-0.341
1.501
20,132,014
2,013,020,037
2013-10-08
2013-10-08T23:00:00Z
TOR
10
COL
21
1
2
REG
COL
3.07
2.346
0.724
0.5668
9
5
0.864
1.878
20,132,014
2,013,020,038
2013-10-08
2013-10-08T23:00:00Z
NYI
2
PHX
27
6
1
REG
NYI
3.059
3.05
0.009
0.5007
11
7
2.132
-2.314
20,132,014
2,013,020,039
2013-10-08
2013-10-08T23:00:00Z
PHI
4
FLA
13
2
1
REG
PHI
2.521
2.553
-0.032
0.4968
8
7
1.879
0.988
20,132,014
2,013,020,040
2013-10-08
2013-10-08T23:00:00Z
PIT
5
CAR
12
5
2
REG
PIT
2.681
2.262
0.419
0.5424
6
10
0.696
-1.554
20,132,014
2,013,020,041
2013-10-08
2013-10-08T23:30:00Z
BUF
7
TBL
14
2
3
OT
TBL
2.127
2.963
-0.836
0.4179
5
16
0.618
0.129
20,132,014
2,013,020,042
2013-10-08
2013-10-09T00:00:00Z
NSH
18
MIN
30
3
2
REG
NSH
2.25
2.372
-0.122
0.4868
7
7
0.744
-0.317
20,132,014
2,013,020,043
2013-10-08
2013-10-09T02:00:00Z
VAN
23
NJD
1
3
2
OT
VAN
2.422
2.098
0.324
0.5358
5
6
0.566
-0.021
20,132,014
2,013,020,044
2013-10-08
2013-10-09T02:30:00Z
SJS
28
NYR
3
9
2
REG
SJS
4.868
2.53
2.338
0.658
20
9
-0.081
-3.867
20,132,014
2,013,020,045
2013-10-09
2013-10-10T00:00:00Z
STL
19
CHI
16
3
2
REG
STL
2.463
2.165
0.298
0.5322
7
8
0.658
0.091
20,132,014
2,013,020,046
2013-10-09
2013-10-10T00:00:00Z
CGY
20
MTL
8
3
2
REG
CGY
2.92
3.17
-0.25
0.4795
4
11
1.576
-0.094
20,132,014
2,013,020,047
2013-10-09
2013-10-10T02:30:00Z
LAK
26
OTT
9
4
3
OT
LAK
3.257
2.086
1.171
0.6096
8
4
-0.572
-0.972
20,132,014
2,013,020,048
2013-10-10
2013-10-10T23:00:00Z
BOS
6
COL
21
0
2
REG
COL
2.859
3.238
-0.379
0.4689
9
9
1.979
3.093
20,132,014
2,013,020,049
2013-10-10
2013-10-10T23:00:00Z
BUF
7
CBJ
29
1
4
REG
CBJ
2.089
2.546
-0.457
0.4507
8
6
-0.993
1.33
20,132,014
2,013,020,050
2013-10-10
2013-10-10T23:00:00Z
WSH
15
CAR
12
2
3
REG
CAR
2.878
2.841
0.037
0.5032
8
8
0.533
1.322
20,132,014
2,013,020,051
2013-10-10
2013-10-10T23:30:00Z
DET
17
PHX
27
2
4
REG
PHX
2.328
3.241
-0.913
0.418
6
6
0.044
0.922
20,132,014
2,013,020,052
2013-10-10
2013-10-10T23:30:00Z
TBL
14
FLA
13
7
2
REG
TBL
2.383
1.313
1.07
0.6448
8
3
-0.578
-4.093
20,132,014
2,013,020,053
2013-10-10
2013-10-11T00:00:00Z
NSH
18
TOR
10
0
4
REG
TOR
2.003
2.25
-0.247
0.471
4
7
-1.488
2.876
20,132,014
2,013,020,054
2013-10-10
2013-10-11T00:00:00Z
MIN
30
WPG
52
2
1
REG
MIN
2.714
1.645
1.069
0.6226
8
6
0.474
0.996
20,132,014
2,013,020,055
2013-10-10
2013-10-11T01:30:00Z
EDM
22
MTL
8
1
4
REG
MTL
2.46
3.698
-1.238
0.3995
8
8
-0.331
1.669
20,132,014
2,013,020,056
2013-10-10
2013-10-11T02:00:00Z
VAN
23
SJS
28
1
4
REG
SJS
1.665
3.54
-1.875
0.3199
2
11
-0.442
1.342
20,132,014
2,013,020,057
2013-10-10
2013-10-11T02:00:00Z
ANA
24
NYR
3
6
0
REG
ANA
2.804
2.783
0.021
0.5019
9
12
3.562
-2.326
20,132,014
2,013,020,058
2013-10-11
2013-10-11T23:00:00Z
PHI
4
PHX
27
1
2
REG
PHX
3.664
2.688
0.976
0.5768
9
5
0.633
2.464
20,132,014
2,013,020,059
2013-10-11
2013-10-11T23:00:00Z
CAR
12
LAK
26
1
2
SO
LAK
3.845
3.163
0.682
0.5487
11
10
1.362
2.51
20,132,014
2,013,020,060
2013-10-11
2013-10-11T23:30:00Z
FLA
13
PIT
5
6
3
REG
FLA
2.9
3.914
-1.014
0.4256
8
10
2.093
-2.863
20,132,014
2,013,020,061
2013-10-11
2013-10-12T00:00:00Z
CHI
16
NYI
2
3
2
REG
CHI
2.91
1.902
1.008
0.6047
14
8
0.223
-0.097
20,132,014
2,013,020,062
2013-10-11
2013-10-12T00:00:00Z
WPG
52
DAL
25
1
4
REG
DAL
4.052
3.265
0.787
0.5538
14
13
-0.546
3.89
20,132,014
2,013,020,063
2013-10-11
2013-10-12T01:00:00Z
CGY
20
NJD
1
3
2
REG
CGY
2.275
1.78
0.495
0.561
5
5
-0.105
-0.615
20,132,014
2,013,020,064
2013-10-12
2013-10-12T23:00:00Z
TOR
10
EDM
22
6
5
OT
TOR
2.253
2.742
-0.489
0.4511
4
10
-1.858
-3.812
20,132,014
2,013,020,065
2013-10-12
2013-10-12T23:00:00Z
DET
17
PHI
4
5
2
REG
DET
2.913
2.408
0.505
0.5475
5
5
1.141
-1.431
20,132,014
2,013,020,066
2013-10-12
2013-10-12T23:00:00Z
TBL
14
PIT
5
4
5
REG
PIT
2.155
3.13
-0.975
0.4078
7
4
-1.98
-2.287
20,132,014
2,013,020,067
2013-10-12
2013-10-12T23:00:00Z
WSH
15
COL
21
1
5
REG
COL
3.923
2.477
1.446
0.613
16
6
-1.966
4.219
20,132,014
2,013,020,068
2013-10-12
2013-10-12T18:00:00Z
CBJ
29
BOS
6
1
3
REG
BOS
1.793
3.267
-1.474
0.3543
8
9
0.941
1.218
20,132,014
2,013,020,069
2013-10-12
2013-10-13T00:00:00Z
CHI
16
BUF
7
2
1
REG
CHI
3.912
2.424
1.488
0.6174
15
7
1.935
2.49
20,132,014
2,013,020,070
2013-10-12
2013-10-13T00:00:00Z
STL
19
NYR
3
5
3
REG
STL
2.24
2.651
-0.411
0.458
3
8
-0.059
-2.157
20,132,014
2,013,020,071
2013-10-12
2013-10-13T00:00:00Z
NSH
18
NYI
2
3
2
REG
NSH
2.447
1.224
1.223
0.6666
6
2
-0.846
-0.458
20,132,014
2,013,020,072
2013-10-12
2013-10-13T00:00:00Z
MIN
30
DAL
25
5
1
REG
MIN
3.144
1.408
1.736
0.6907
7
3
0.425
-1.597
20,132,014
2,013,020,073
2013-10-12
2013-10-13T02:00:00Z
VAN
23
MTL
8
1
4
REG
MTL
3.083
3.539
-0.456
0.4656
6
11
0.004
2.547
20,132,014
2,013,020,074
2013-10-12
2013-10-13T02:00:00Z
SJS
28
OTT
9
3
2
REG
SJS
4.632
1.796
2.836
0.7206
13
3
0.048
2.061
20,132,014
2,013,020,075
2013-10-13
2013-10-13T17:00:00Z
CAR
12
PHX
27
3
5
REG
PHX
3.278
3.892
-0.614
0.4572
7
13
-0.935
0.7
20,132,014
2,013,020,076
2013-10-13
2013-10-13T19:00:00Z
FLA
13
LAK
26
0
3
REG
LAK
1.5
2.299
-0.799
0.3948
2
9
-0.118
1.972
20,132,014
2,013,020,077
2013-10-13
2013-10-14T00:00:00Z
WPG
52
NJD
1
3
0
REG
WPG
3.769
2.615
1.154
0.5904
11
8
2.878
1.394
20,132,014
2,013,020,078
2013-10-13
2013-10-14T00:00:00Z
ANA
24
OTT
9
4
1
REG
ANA
5.631
3.262
2.369
0.6332
11
11
2.402
2.731
20,132,014
2,013,020,079
2013-10-14
2013-10-14T17:00:00Z
BOS
6
DET
17
2
3
REG
DET
2.846
1.829
1.017
0.6088
8
4
-0.85
0.458
20,132,014
2,013,020,080
2013-10-14
2013-10-14T23:00:00Z
WSH
15
EDM
22
4
2
REG
WSH
2.957
2.802
0.155
0.5135
10
7
1.041
-1.248
20,132,014
2,013,020,081
2013-10-14
2013-10-14T23:30:00Z
BUF
7
MIN
30
1
2
REG
MIN
1.724
2.789
-1.065
0.382
8
5
0.135
0.979
20,132,014
2,013,020,082
2013-10-15
2013-10-15T23:00:00Z
TOR
10
MIN
30
4
1
REG
TOR
1.995
3.07
-1.075
0.3939
4
9
2.544
-1.574
20,132,014
2,013,020,083
2013-10-15
2013-10-15T23:00:00Z
NYI
2
BUF
7
3
4
SO
BUF
5.672
4.064
1.608
0.5826
25
16
-0.425
2.88
20,132,014
2,013,020,084
2013-10-15
2013-10-15T23:00:00Z
PHI
4
VAN
23
2
3
REG
VAN
1.915
2.451
-0.536
0.4386
3
4
-0.933
-0.177
20,132,014
2,013,020,085
2013-10-15
2013-10-15T23:00:00Z
PIT
5
EDM
22
3
2
REG
PIT
2.386
2.481
-0.095
0.4902
8
7
0.643
0.145
20,132,014
2,013,020,086
2013-10-15
2013-10-15T23:00:00Z
CAR
12
CHI
16
2
3
SO
CHI
3.799
3.663
0.136
0.5091
10
14
1.031
1.491
20,132,014
2,013,020,087
2013-10-15
2013-10-16T00:00:00Z
DET
17
CBJ
29
2
1
REG
DET
2.2
2.866
-0.666
0.4343
4
8
3.018
0.152
20,132,014
2,013,020,088
2013-10-15
2013-10-15T23:30:00Z
TBL
14
LAK
26
5
1
REG
TBL
2.295
2.719
-0.424
0.4577
7
4
1.764
-2.107
20,132,014
2,013,020,089
2013-10-15
2013-10-16T00:00:00Z
STL
19
SJS
28
2
6
REG
SJS
2.56
3.953
-1.393
0.3931
2
11
-1.621
0.536
20,132,014
2,013,020,090
2013-10-15
2013-10-16T00:00:00Z
NSH
18
FLA
13
4
3
REG
NSH
2.842
1.69
1.152
0.6271
12
3
-1.268
-0.637
20,132,014
2,013,020,091
2013-10-15
2013-10-16T00:00:00Z
WPG
52
MTL
8
0
3
REG
MTL
3.2
3.486
-0.286
0.4786
9
6
0.956
3.253
20,132,014
2,013,020,092
2013-10-15
2013-10-16T01:00:00Z
COL
21
DAL
25
3
2
REG
COL
2.132
3.817
-1.685
0.3584
6
13
2.928
-0.158
20,132,014
2,013,020,093
2013-10-15
2013-10-16T02:00:00Z
PHX
27
OTT
9
3
4
OT
OTT
3.171
2.501
0.67
0.5591
9
11
-1.107
0.584
20,132,014
2,013,020,094
2013-10-16
2013-10-17T00:00:00Z
WSH
15
NYR
3
0
2
REG
NYR
1.851
3.333
-1.482
0.3571
6
10
1.736
1.668
20,132,014
2,013,020,095
2013-10-16
2013-10-17T02:00:00Z
ANA
24
CGY
20
3
2
REG
ANA
2.042
3.222
-1.18
0.3879
6
11
2.232
-0.679
20,132,014
2,013,020,096
2013-10-17
2013-10-17T23:00:00Z
BUF
7
VAN
23
0
3
REG
VAN
2.066
3.008
-0.942
0.4072
7
9
0.398
2.587
20,132,014
2,013,020,097
2013-10-17
2013-10-17T23:00:00Z
TOR
10
CAR
12
2
3
REG
CAR
2.252
3.749
-1.497
0.3753
5
10
1.157
0.611
20,132,014
2,013,020,098
2013-10-17
2013-10-17T23:00:00Z
NYI
2
EDM
22
3
2
REG
NYI
3.602
2.974
0.628
0.5477
11
8
1.85
2.039
20,132,014
2,013,020,099
2013-10-17
2013-10-17T23:00:00Z
PHI
4
PIT
5
1
4
REG
PIT
2.733
2.885
-0.152
0.4865
8
4
-0.302
1.65
20,132,014
2,013,020,100
2013-10-17
2013-10-17T23:30:00Z
MTL
8
CBJ
29
5
3
REG
MTL
3.074
3.638
-0.564
0.458
7
17
1.359
-1.152
20,132,014
End of preview. Expand in Data Studio

NHL Analytics: Multi-Season Longitudinal Panel & Measurement Dataset (2013 ~ Present | Daily Updated)

Source Repository & Ingestion Pipelines:
🏒 GitHub: justinjjlee/NHL-Analytics (Rinklytics)

"NHL Analytics (also known as Rinklytics) is a comprehensive sports analytics platform for collecting, processing, and visualizing National Hockey League (NHL) data. Automated daily GitHub Actions workflows incrementally append and update incoming game records, player rosters, betting odds, and play-by-play coordinates directly from the official NHL Edge API."

Dataset Description

This dataset provides comprehensive, multi-season panel data and advanced analytical measurements for the National Hockey League (NHL), spanning over 17,000 games, 600,000 player-game appearances, and millions of play-by-play event coordinates from 2013 to the present day (actively maintained and daily updated).

The repository is structured into two primary tiers:

  1. data/: Raw longitudinal panel datasets (games, box scores, rosters, shifts, play-by-play events, closing betting lines).
  2. measurement/: Derived analytical metrics, team-season benchmarks, and physical action telemetry generated by automated pipelines, all indexed with standardized yr_season columns.

Automated daily GitHub Actions workflows incrementally append and update incoming game records from the NHL Edge API.


Dataset Structure

Tier 1: Raw Longitudinal Panels (data/)

1. data/games.parquet (Game Master Panel)

  • Unit of Observation: One row per game (game_id).
  • Columns: game_id, season, game_date, time_start, home_team, away_team, home_team_id, away_team_id, home_score, away_score, period_ending, winning_team.

2. data/team_box.parquet (Team-Game Box Scores)

  • Unit of Observation: One row per team per game (game_id, team).
  • Columns: game_id, season, game_date, team, is_home, goals, shots, hits, shots_blocked, goals_pp, pim, takeaways, giveaways, faceoff_win_pct, win.

3. data/player_box.parquet (Individual Player Performance)

  • Unit of Observation: One row per player per game (game_id, player_id).
  • Columns: game_id, season, game_date, player_id, player_name, team, position, sweater_number, toi, goals, assists, points, plus_minus, pim, hits, sog, blocked_shots, faceoff_pct, saves, shots_against, save_pct.

4. data/odds.parquet (Betting Closing Lines)

  • Unit of Observation: Closing market odds per game and country market (game_id, country, odds_description).
  • Columns: game_id, country ("US" or "CAN"), game_date, home_team, away_team, odds_description, home_odds, away_odds, betting_partner, start_time_utc, last_updated_utc.

5. data/playbyplay.parquet (Granular Event Microdata Panel)

  • Unit of Observation: Granular play-by-play events (game_id, event_id).
  • Format: Single Parquet file (~58 MB compressed for ~5.4 million events across 14 seasons).
  • Columns: game_id, season, game_type, game_date, event_id, time_in_period, time_remaining, period, period_type, event_type, reason, owner_team, x_coord, y_coord, zone_code, home_defending_side, shot_type, away_sog, home_sog, shooting_player_id, blocking_player_id, goalie_in_net_id, scoring_player_id, assist1_player_id, assist2_player_id, hitting_player_id, hittee_player_id, duration, committed_by_player_id, drawn_by_player_id.

6. data/playbyplay_player.parquet (Game Roster & Participating Players)

  • Unit of Observation: One row per skater/goaltender present on the official game sheet (game_id, player_id).
  • Columns: game_id, season, player_id, team, sweater_number, position, first_name, last_name, headshot.

7. data/shifts.parquet (Shift-Level Tracking)

  • Unit of Observation: Individual on-ice player shift (shift_id).
  • Columns: shift_id, game_id, player_id, season, team, player_name, period, shift_number, start_time, end_time, duration, type_code, detail_code, event_number, event_description, event_details.

Tier 2: Measured & Computed Statistics (measurement/)

All measurement datasets contain the standardized season identifier yr_season (e.g. 2013 to 2026).

A. Box & Team Measurements (measurement/box/)

  • measurement/box/team_season.parquet: Multi-season team KPI aggregates, Fenwick/Corsi differential ratings, Pythagorean win expectation, RPI, and win streaks.
  • measurement/box/game_stats.parquet: Game-level rolling performance, momentum indicators, and advanced game metrics.

B. Player Season Aggregates (measurement/player/)

  • measurement/player/player_season.parquet: Skater and goaltender season-level totals, points per game, TOI rates, and save percentages.

C. Physical Actions & Hit Analytics (measurement/action/hits/)

  • measurement/action/hits/hit_impact.parquet: Downstream sequence outcomes and 30-second net shot/goal impact sequences.
  • measurement/action/hits/team_season_hit_kpi.parquet: Team-level physical KPIs and zone breakdown rates.
  • measurement/action/hits/team_season_spatial_hits.parquet: Team spatial hit density grid coordinates.
  • measurement/action/hits/hit_goal_window_30s.parquet: 30-second scoring telemetry and outcome tracking post-contact.
  • measurement/action/hits/hit_next_events.parquet: Reaction latency and subsequent event categories.
  • measurement/action/hits/hit_sequence_transitions.parquet: Markov chain state transitions following hits.
  • measurement/action/hits/hit_zone_summary_kpi.parquet: Zone-level recovery rates, takeaways, and shot differentials.
  • measurement/action/hits/hit_zone_summary.parquet: Zone-level recovery speed and opponent possession.
  • measurement/action/hits/rink_grid_hit_sequences.parquet: Normalized rink coordinate sequences.
  • measurement/action/hits/tabulated_hit_sequences.parquet: Multi-step post-hit event progressions (+1 to +4).

Quickstart & Query Examples

A. Zero-Install Streaming SQL with DuckDB

-- Query directly from Hugging Face over HTTP without local downloads
SELECT 
    season, 
    home_team, 
    COUNT(*) AS total_home_games,
    ROUND(AVG(home_score), 2) AS avg_goals_scored
FROM 'hf://datasets/jjerlee/nhl-analytics/data/games.parquet'
WHERE season >= 20212022
GROUP BY season, home_team
ORDER BY season DESC, avg_goals_scored DESC;

B. Python (polars or pandas)

import polars as pl

url = "https://huggingface.co/datasets/jjerlee/nhl-analytics/resolve/main/data/team_box.parquet"
df_teams = pl.read_parquet(url)
print(df_teams.filter(pl.col("team") == "MTL").tail(10))

C. Hugging Face datasets

from datasets import load_dataset

dataset = load_dataset("jjerlee/nhl-analytics", "games", split="train")
print(dataset[0])

Data Source & Automation

All underlying data is scraped, parsed, and transformed from the official NHL Edge API and market data providers.
🏒 Upstream Source Repository: GitHub — justinjjlee/NHL-Analytics

Automated daily GitHub Actions workflows running during the NHL season:

  • Game Stats & Plays: Daily at 09:00 UTC (runs box score parsing, game summary metrics, and play-by-play events).
  • Betting Odds: Daily at 20:00 UTC (captures pre-game closing lines across US and Canadian markets).
  • Player Aggregates: Weekly runs updating skater and goalie season performance metrics.
Downloads last month
810

Space using jjerlee/nhl-analytics 1