Class Index | File Index

Classes


Namespace util.advStats

Advanced stats (PER, WS, etc) that require some nontrivial calculations and thus are calculated and cached once each day.
Defined in: <js/util/advStats.js>.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
util.advStats.calculateAll(cb)
Calcualte the advanced stats for each active player and write them to the database.
<static>  
util.advStats.calculatePER(cb)
Calcualte the current season's Player Efficiency Rating (PER) for each active player and write it to the database.
Namespace Detail
util.advStats
Method Detail
<static> util.advStats.calculateAll(cb)
Calcualte the advanced stats for each active player and write them to the database. Currently this is just PER.
Parameters:
{function()} cb
Callback function.

<static> util.advStats.calculatePER(cb)
Calcualte the current season's Player Efficiency Rating (PER) for each active player and write it to the database. This is based on http://www.basketball-reference.com/about/per.html In the playoffs, only playoff stats are used.
Parameters:
{function()} cb
Callback function.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 10 2013 23:08:32 GMT-0400 (EDT)