war-on-ice codebook
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
"grand.data"
2
[1,] "season"
20022003 through 20142015
3
[2,] "gcode"
20001-21230 for regular season, 30xxx for playoffs: round, series, game
4
[3,] "refdate"
number of days since Jan 1 2001 (I think) -- obsolete
5
[4,] "event"
numbered event in the game
6
[5,] "period"
in regular season "5" is shootout.
7
[6,] "seconds"
time on the clock, in seconds -- start is 0, end of 3rd is 3600
8
[7,] "etype"
event classification. We added "change" when the players on the ice were different between events.
9
[8,] "a1" away player 1
"1" is "no player" code
10
[9,] "a2" away player 2
numbers for players match "player.id" in roster.master/roster.unique
11
[10,] "a3" away player 3
12
[11,] "a4" away player 4
13
[12,] "a5" away player 5
14
[13,] "a6" away player 6
15
[14,] "h1" home player 1
16
[15,] "h2" home player 2
17
[16,] "h3" home player 3
18
[17,] "h4" home player 4
19
[18,] "h5" home player 5
20
[19,] "h6" home player 6
21
[20,] "ev.team"
which team is registered for the event
GOALHITPENLFACBLOCKMISSSHOT
22
[21,] "ev.player.1"
goal scorerhitterpenalty takerfaceoff winnershooter
23
[22,] "ev.player.2"
assist 1hitteepenalty drawerfaceoff losershot blocker
24
[23,] "ev.player.3"
assist 2
25
[24,] "distance"
original distance from net, as recorded by RTSS
26
[25,] "type"
additional details on shot attempts, penalties
27
[26,] "homezone"
what zone the event happened in, relative to the home team
28
[27,] "xcoord"
original x coordinate, as recorded by RTSS. In feet relative to center ice faceoff dot; goals are at (89,0) and (-89,0)
29
[28,] "ycoord"
original y coordinate, as recorded by RTSS
30
[29,] "awayteam"
31
[30,] "hometeam"
32
[31,] "home.score"
33
[32,] "away.score"
34
[33,] "event.length"
duration of the current event, relative to the last recorded event
35
[34,] "away.G"
away goaltender
36
[35,] "home.G"
home goaltender
37
[36,] "home.skaters"
total players on the ice (including goaltender)
38
[37,] "away.skaters"
total players on the ice (including goaltender)
39
[38,] "adjusted.distance"
corrected distance
40
[39,] "shot.feature"
rebound/rush, detail on event (off shot/miss/block, or previous zone), time since it happened
41
[40,] "import.ies"
where the data came from. 0=NHL; 1=imputed; 2=ESPN; 3=sportsnet
42
[41,] "loc.section"
the area of the offensive zone where the event happened, original RTSS
43
[42,] "new.loc.section"
the area of the offensive zone where the event happened, corrected
44
[43,] "newxc"
corrected x-coordinate
45
[44,] "newyc"
corrected y-coordinate
46
[45,] "score.diff.cat"
see below
47
[46,] "subdistance"
(deprecated, but used for imputing missing locations)
48
49
50
51
score.diff.catloc.section
from shooter point of view
danger
http://war-on-ice.com/hexplayers.html
52
0
away lead by 3+
0(missing)0
53
1away lead by 21right point1
54
2away lead by 12"center point"1
55
3tied3left point1
56
4home lead by 14R-11
57
5home lead by 25R-22
58
6
home lead by 3+
6high slot2
59
7L-22
60
8L-11
61
9R-Low1
62
10R-Slot2
63
11Slot3
64
12LowSlot3
65
13L-Slot2
66
14L-Low1
67
15DownLow1
68
16Out of zone1
69
70
"games"
71
homeafterhome, etc
did the home team player the day before at home
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...
 
 
 
nhlscrapr
warbase