Below you will find a table that lists and explains all the variables
available in calculate_stats()
. Compared to the old
calculate_player_stats*()
functions that have been
deprecated, practically all variables (and their names) have been
preserved. However, there are a few differences. These are
-
recent_team
: renamed toteam
(recent team in weekly data never made sense) -
interceptions
: renamed topassing_interceptions
(all passing stats have the passing prefix) -
sacks
: renamed tosacks_suffered
(to make clear it’s not on defensive side) -
sack_yards
: renamed tosack_yards_lost
(to make clear it’s not on defensive side) -
dakota
: not implemented at the moment -
def_tackles
: there isdef_tackles_solo
anddef_tackles_with_assist
-
def_fumble_recovery_own
: renamed tofumble_recovery_own
(it is not exclusive to defense) -
def_fumble_recovery_yards_own
: renamed tofumble_recovery_yards_own
(it is not exclusive to defense) -
def_fumble_recovery_opp
: renamed tofumble_recovery_opp
(it is not exclusive to defense) -
def_fumble_recovery_yards_opp
: renamed tofumble_recovery_yards_opp
(it is not exclusive to defense) -
def_safety
: renamed todef_safeties
(we use plural everywhere) -
def_penalty
: renamed topenalties
(it is not exclusive to defense) -
def_penalty_yards
: renamed topenalty_yards
(it is not exclusive to defense)