Difference between revisions of "Winner's Curse"

From edegan.com
Jump to navigation Jump to search
imported>Ed
imported>Ed
Line 11: Line 11:
 
*syear - the season starting year identifier (YYYY), for the 2000-2001 season this is 2000
 
*syear - the season starting year identifier (YYYY), for the 2000-2001 season this is 2000
 
*playerage - in years, calculated as the age as of 1st October for the syear
 
*playerage - in years, calculated as the age as of 1st October for the syear
 +
*capgeek - 1 if the player-season is in CapGeek, 0 otherwise
  
 
From the NHL data, each record has:
 
From the NHL data, each record has:

Revision as of 19:20, 17 August 2012

This page provides notes for the Winner's Curse Project with Jim Brander. Access is restricted to this page.

See also:

General Data

Each record has:

  • nhlid - a unique player index based on name and date of birth
  • skater - 1 for skaters, 0 for goalies
  • syear - the season starting year identifier (YYYY), for the 2000-2001 season this is 2000
  • playerage - in years, calculated as the age as of 1st October for the syear
  • capgeek - 1 if the player-season is in CapGeek, 0 otherwise

From the NHL data, each record has:

  • season - the NHL season YYYYXXXX (i.e., 20002001)
  • gametype - 2 for regular season data, 3 for playoffs
  • jerseyno
  • player - the player name
  • teamstring - the team(s) the NHL records the player as coming from (for the season)
  • teamcount - the number of teams the player played for (in the season)
  • team1 - the 1st team the NHL records the player as coming from
  • team2 - the 2nd team if applicable
  • team3 - the 3rd team if applicable
  • team4 - the 4th team if applicable
  • pos - the player's listed position (C, L, R, D, G)
  • dob - the player's Date of Birth
  • biobirth_city
  • biosorp - state or province
  • bioctry - country
  • bioht - height in inches
  • biowt - weight in lbs
  • biohanded - L or R handed
  • biorhanded - 1 if R, 0 if L
  • biork - Rookie (1 or 0)
  • biogp - games played (int)
  • biog - goals (int)
  • bioa - assists (int)
  • biopim - penalty minutes (int)
  • biotoiperg - time on ice per game (secs), calculated for goalies

Contract Data

Player's Data

Variables

Variables are named 'view-name-prefix' followed by 'transformed NHL.com code'. The view name prefixes are three letter codes, listed in brackets next to the view names themselves. The untransformed NHL.com codes used are provided for each view name in the display box. The transformation rules are replacements as follows: % -> pc, / -> or OR / -> per (depending on context), + -> plus, - -> minus, " " -> "", 1 -> one, and so forth.

Skaters

Bios (bio)

# - Sweater Number 
Player - Player Name 
Team - Team 
Pos - Position 
DOB - Date of Birth 
Birth City - Birth City 
S/P - State/Province 
Ctry - Country 
Ht - Height in Inches 
Wt - Weight in Pounds 
S - Shoots 
Rk - Rookie 
GP - Games Played 
G - Goals 
A - Assists 
Pts - Points 
+/- - Plus/Minus 
PIM - Penalty Minutes 
TOI/G - Time On Ice Per Game 

Summary (sum)

PP - Power Play Goals 
SH - Short Handed Goals 
GW - Game Winning Goals 
GT - Game Tying Goals 
OT - Overtime Goals 
S - Shots 
S% - Shooting Percentage 
Sft/G - Average Shifts Per Game 
FO% - Faceoff Win Percentage 

Assists (ast)

ESA - Even Strength Assists 
SHA - Short Handed Assists 
PPA - Power Play Assists 
HmA - Home Assists 
RdA - Road Assists 
DvA - Own Division Assists 
ODvA - Other Division Assists 
A/G - Average Assists Per Game 

Division Scoring (dsc)

Dv GP - Division Games Played 
Dv G - Division Goals 
Dv A - Division Assists 
Dv P - Division Points 
Dv +/- - Division Plus/Minus 
ODGP - Other Division Games Played 
OD G - Other Division Goals 
OD A - Other Division Assists 
OD P - Other Division Points 
OD+/- - Other Division Plus/Minus 

Faceoff Percentages (fpc)

ESFOW - Even Strength Faceoffs Won 
ESFOL - Even Strength Faceoffs Lost 
PPFOW - Power Play Faceoffs Won 
PPFOL - Power Play Faceoffs Lost 
SHFOW - Shorthanded Faceoffs Won 
SHFOL - Shorthanded Faceoffs Lost 
HFOW - Home Faceoffs Won 
HFOL - Home Faceoffs Lost 
HFO% - Home Faceoff Win Percentage 
RFOW - Road Faceoffs Won 
RFOL - Road Faceoffs Lost 
RFO% - Road Faceoff Win Percentage 
FOW - Total Faceoffs Won 
FOL - Total Faceoffs Lost 
Tot - Total Faceoffs Taken 
FO% - Faceoff Win Percentage 

Goals (gls)

ESG - Even Strength Goals 
PPG - Power Play Goals 
SHG - Short Handed Goals 
1G - First Goals 
OTG - Overtime Goals 
GWG - Game Winning Goals 
GTG - Game Tying Goals 
HmG - Home Goals 
RdG - Road Goals 
DvG - Own Division Goals 
ODvG - Other Division Goals 
ENG - Empty Net Goals 
PSG - Penalty Shot Goals 
PST - Penalty Shots Taken 
G/G - Average Goals Per Game 

Home Scoring (hsc)

GP - Home Games Played 
G - Home Goals 
A - Home Assists 
P - Home Points 
+/- - Home Plus/Minus 
PIM - Home Penalty Minutes 
Pen - Home Penalties 
EV TOI/g - Home Avg Even TOI/game 
PP TOI/g - Home Avg PP TOI/game 
SH TOI/g - Home Avg SH TOI/game 
TOI/g - Home Avg TOI/game 
FO - Home Faceoffs Taken 
FOW - Home Faceoffs Won 
FOL - Home Faceoffs Lost 
FO% - Home Faceoff Win % 

Penalties (pen)

Player - Player Name 
Team - Team 
Pos - Position 
GP - Games Played 
PIM - Penalty Minutes 
Minor - Minor Penalties 
Major - Major Penalties 
Misc - Misconduct Penalties 
G Misc - Game Misconduct Penalties 
Match - Match Penalties 

Plus Or Minus (pom)

Other Div +/- - Other Division Plus/Minus 
Team GF - Team Goals For 
Team PPGF - Team Powerplay Goals For 
Team GA - Team Goals Against 
Team PPGA - Team Powerplay Goals Against 

Points (pnt)

ESP - Even Strength Points 
SHP - Short Handed Points 
ODvP - Other Division Points 
P/G - Average Points Per Game 

Road Scoring (rsc)

GP - Road Games Played 
G - Road Goals 
A - Road Assists 
P - Road Points 
+/- - Road Plus/Minus 
PIM - Road Penalty Minutes 
Pen - Road Penalties 
EV TOI/g - Road Avg Even TOI/game 
PP TOI/g - Road Avg PP TOI/game 
SH TOI/g - Road Avg SH TOI/game 
TOI/g - Road Avg TOI/game 
FO - Road Faceoffs Taken 
FOW - Road Faceoffs Won 
FOL - Road Faceoffs Lost 
FO% - Road Faceoff Win % 

Real Time Stats (rts)

Hits - Hits 
BkS - Blocked Shots 
MsS - Missed Shots 
GvA - Giveaways 
TkA - Takeaways 
%Tm - % of Team Faceoffs Taken 
Shots - Shots 
% - Shooting Percentage 

Special Teams (spc)

G - Power Play Goals 
A - Power Play Assists 
P - Power Play Points 

Shooting (sho)

S/G - Average Shots Per Game 
PS Goals - Penalty Shot Goals 
PS Taken - Penalty Shots Taken 

Shootouts (sou)

Player - Player Name 
Team - Team 
Pos - Position 
Home: S - Home Shots 
G - Home Goals 
S% - Home Shooting Percentage 
GDG - Home Game-Deciding Goals 
Road: S - Road Shots 
G - Road Goals 
S% - Road Shooting Percentage 
GDG - Road Game-Deciding Goals 
GDG - Total Game-Deciding Goals

Goalies

Bios (gbio or bio, when common)

# - Sweater Number
Player - Player Name
Team - Team
DOB - Date of Birth
Birth City - Birth City
S/P - State/Province
Ctry - Country
Ht - Height in Inches
Wt - Weight in Pounds
C - Catches
Rk - Rookie
GP - Games Played
W - Wins
L - Losses
T - Ties
OT - OT and/or S/O Losses
GAA - Goals Against Average
Sv% - Save Percentage
SO - Shutouts

Summary (gsum or bio/sum, when common)

GS - Games Started
SA - Shots Against
GA - Goals Against
GAA - Goals Against Average
Sv - Saves
G - Goals
A - Assists
PIM - Penalty Minutes
TOI - Time On Ice

Special Teams (sav)

Even: SA - Even Strength Shots Against
GA - Even Strength Goals Against
Sv - Even Strength Saves
Sv% - Even Strength Save Percentage
Power Play: SA - Power Play Shots Against
GA - Power Play Goals Against
Sv - Power Play Saves
Sv% - Power Play Save Percentage
Shorthanded: SA - Short Handed Shots Against
GA - Short Handed Goals Against
Sv - Short Handed Saves
Sv% - Short Handed Save Percentage

Shootouts (gsou)

Home: W - Home Wins
L - Losses
SA - Shots Against
GA - Goals Against
Sv % - Save Percentage
Road: W - Wins
L - Losses
SA - Shots Against
GA - Goals Allowed
Sv % - Save Percentage

Contract Data

The contract data will be taken from http://www.CapGeek.com

Using Player IDs:

The player name is in a page level 1 header, followed by position and team name (which is hyperlinked) in the page level 2 header.

We want the Contract History. Specifically, the header data, then the following section data. We should also take the known clauses...

There is a bug in the script tha leads to contamination in the data. This can be removed with s/.*CONTRACT DETAILS.*\n//;

Buyout data

All known (to capgeek) buyouts are listed on the page http://www.capgeek.com/buyouts.php

Arbitration data

All I have so far is:

And some articles/blog posts: