Standings Prototype

Update 4/28/2019: A prototype WordPress page will now be kind of updated until this gets automated;  That page is here and in the main menu above.

Update 5/1/2019: A prototype non WordPress auto updated page replaces both this post and the above WordPress page.  Eventually the entire data model for all MLB teams and minor league affiliates will have its own web site outside of WordPress.  WordPress is a convenient easy to use framework but requires too much manual intervention to update.

This post will show a standings prototype format keeping numbers down to an absolute minimum but providing a unique insight by using data fundamental to this data model.  The goal for this season is to build a web interface that will allow you to drill down into any team for the current year and get real time information based upon the valuations from this data model.  In past years we mainly talked through the Cubs numbers.

The code to manage and do lookups into this model has been available as bash shell and perl scripts for me to publish here since the beginning and has been refined over the years to include more features.  A prototype web interface was set up in 2013 using static html pages.  This is not an ideal way of doing things.  Once handicapping begins we should have a rudimentary interface set up for current year data.  The historical data will be added as the season progresses.

That said, the first of these scripts was finished and I’ll just copy/paste the html code here.  The table below shows divisional standings for all 30 MLB teams using a modified team status record.

Update: These tables will be replaced manually for now.  Updated for today, 4/24/2019

MLB Standings as of beginning of day 4/24/2019

NL Central

TeamID W L BAT PITCH UR
SLN 14 9 20.5 3.4 2.7
PIT 12 9 -34.0 38.5 -3.3
MIL 13 12 15.0 -29.5 5.7
CHN 11 10 8.5 17.5 -4.3
CIN 9 13 -27.5 29.5 4.7

NL East

TeamID W L BAT PITCH UR
NYN 13 10 19.0 -16.5 -11.3
PHI 12 11 10.0 -7.5 -2.3
WAS 11 11 12.0 -4.5 3.7
ATL 11 11 11.5 -1.6 -0.3
MIA 7 16 -44.5 -2.5 2.7

NL West

TeamID W L BAT PITCH UR
LAN 15 10 30.0 -5.5 -1.3
SDN 13 11 -23.0 10.4 -1.3
ARI 13 11 16.0 -8.6 1.7
SFN 10 14 -32.5 21.5 0.7
COL 10 14 -19.5 -2.6 3.7

AL Central

TeamID W L BAT PITCH UR
MIN 13 8 10.5 8.4 0.7
DET 12 10 -36.5 29.4 -1.3
CLE 12 10 -27.0 21.5 -1.3
CHA 9 13 -1.5 -15.4 -2.3
KCA 7 17 -4.0 -26.5 4.7

AL East

TeamID W L BAT PITCH UR
TBA 16 8 10.5 31.5 6.7
NYA 13 10 11.5 17.5 0.7
TOR 11 13 -7.5 17.5 -4.3
BOS 9 15 -11.5 -29.6 -3.3
BAL 9 16 2.5 -50.6 -3.3

AL West

TeamID W L BAT PITCH UR
SEA 16 10 56.0 -16.6 -10.3
HOU 14 9 7.0 16.5 0.7
TEX 12 10 13.0 -19.5 2.7
OAK 13 13 18.0 -17.5 3.7
ANA 9 15 -3.5 -13.6 3.7

Edit: The below was written 4/22 for the first prototype which has been replaced above.

No baseball sites show BAT and PITCH and UR numbers which can be very interesting.  Although Seattle has the best record in MLB right now, their PITCH and UR is terrible.  How will that affect them down the road?   Pittsburgh who lead the NL Central right now have terrible BATting but great PITCHing.  The Mets have the worst Unearned Runs above average at -11.9 but they’re second in NL East.  Will that haunt them?  Can they improve?  Who knows?

On the web interface you’ll be able to click on each team and examine their roster valuations according to this data model.  This will be important information as you see the handicapping coming in May.  Until then ….