moneyball-app

~ Web analytics application that provides the insights for your MLB team ~

Usage

  1. Select a Season and Metric of interest. This will initially generate some data of team statistics relevant to the selected values.
  2. Choose a team in the Select Team dropdown to view the overall and category-based rankings. Details of the category scoring is explained in Categorization Logic.


Categorization Logic

Currently, there are 3 Metric available. Here is a breakdown of the category-based rankings available for each:

1. Batting

CategoryDescriptionVariables Involved
HittingAbility to get base hitsBA
PowerAbility to hit for powerHR
On BaseAbility to get on baseOBP
Base StealingAbility to steal basesSB CS
EfficiencyAbility to maximize run scoring opportunitiesLOB R HR
OVERALLRuns scored per gameR/G

2. Starting Pitching

CategoryDescriptionVariables Involved
WinningAbility to keep the game at a winning stateWgs Wlst Lsv
Quality StartAbility to have quality startsQS%
StaminaAbility to accumulate large pitch counts80-99 100-119 ≥120
EfficiencyAbility to accumulate inningsIP/GS
OVERALLPitcher outing scoreGmScA

3. Relief Pitching

CategoryDescriptionVariables Involved
SavesNumber of savesSV
HoldsNumber of holdsHold
Clean ClosesSave rateSV%
Win %**Ability to win as a result of reliefWgr Lgr
Game PressurePressure faced by pitchersaLI
OVERALL**Ability to strand runners on baseIS%

4. Fielding

CategoryDescriptionVariables Involved
Defensive EfficiencyBalls in play converted into outsDefEff
DRSRelative number of defensive runs saved or costRdrs/yr
Fld%Standard fielding percentageFld%
Good PlaysGood Plays/Misplays runs above averageRgood
DPNumber of double plays completedDP
OVERALL**Total Zone Runs: Considering outfield arms, infield double play induces, catcher efficiencyRtot/yr
  • Metrics in ** needs to be re-evaluated for more proper evaluation.

Setup

Common Issues

SSL Certs

On Mac, go to Applications/python3._ and double click Install Certificates