September 23, 2007

My own formatted play-by-play

**UPDATED**
L.A @ ANA 2007-09-13
ANA @ L.A 2007-09-15
PHX @ ANA 2007-09-16
ATL @ STL 2007-09-16
WSH @ CAR 2007-09-16
NSH @ CBJ 2007-09-16
FLA @ CGY 2007-09-16
COL @ PHX 2007-09-17
ANA @ VAN 2007-09-17
PIT @ MTL 2007-09-17
FLA @ EDM 2007-09-17
STL @ DAL 2007-09-18
S.J @ L.A 2007-09-18
CHI @ CBJ 2007-09-18
PIT @ MTL 2007-09-18
TOR @ EDM 2007-09-18
S.J @ ANA 2007-09-19
L.A @ COL 2007-09-19
CGY @ VAN 2007-09-19
CBJ @ CHI 2007-09-19
DAL @ T.B 2007-09-19
COL @ DAL 2007-09-20
PHX @ TOR 2007-09-20
WSH @ OTT 2007-09-20
ATL @ NSH 2007-09-20
EDM @ VAN 2007-09-20
FLA @ CHI 2007-09-20
MIN @ DET 2007-09-20
N.J @ NYR 2007-09-21
NSH @ CAR 2007-09-21
ANA @ S.J 2007-09-21
CBJ @ BUF 2007-09-21
MIN @ CHI 2007-09-21
NYI @ MTL 2007-09-21
PIT @ DET 2007-09-21
TOR @ BOS 2007-09-22
CAR @ NSH 2007-09-22
DAL @ PHX 2007-09-22
OTT @ MTL 2007-09-22
STL @ ATL 2007-09-22
WSH @ T.B 2007-09-22
PHI @ NYR 2007-09-22
VAN @ S.J 2007-09-22
EDM @ CGY 2007-09-22
DET @ PIT 2007-09-22



Ok, this is a work in progress. Basically I want something that has the option to hide certain events and show other ones. If you click on SHOT, BLOCK etc. it will hide or show those events. This is really nice as you can break the play-by-play into just shots (what I care most about), or just face-offs. In the long run, this is just a great way to see if I have recorded the data correctly and where any problems are.

Also, I've color-coded the shots based on the likelihood of them going in. I wasn't sure if this would work, but it really gives you an idea of the flow of the game. Bright red = very good shot. Black goal = bad goal (low probability of going in).

I plan on publishing these (possibly live if I can figure out how to write a program that will download and parse them live). They are more in tune with the old style.

Note: the code runs slow in IE7 (not sure how it works in IE5.x or IE6).

I will likely attach a game summary part onto the top, which includes the goalie's save percentages and who scored and got assists. And a few other details. I also find the information a little overwhelming in this format so I'll be moving it around to see if it works better.

Nice CSS formatting was done by Chris Waycott.

1 comment:

Dave said...

Very impressive work. Already better than NHL.com's.

Keep up the good work!