Team Statistics

From Bot Brackets Wiki
Jump to: navigation, search

The following statistics are available for use:

General Data

wins — number of games won
losses — number of games lost
PTF 
points for — the number of points scored by the given team
PTA 
points against — the number of points scored by the team's opponents
Conf 
conference — the conference that a team plays in (abbreviated)
Seed 
the seed (1-16) of the team in the tournament. Not set if the team is not in the round of 64.
Position 
number from 1-64 indicating their internal position on the bracket

Detailed Data

FGM 
field goals made — the number of goals scored from the field, i.e. both 2-point shots and 3-point shots
FGA 
field goal attempts — the number of goals attempted from the field, whether or not they were successful
3FG 
3-point field goals — the number of 3-point goals scored. Note that since this value starts with a number, you need to use quote-in-brackets notation to access it.
3FGA 
3-point field goal attempts — the number of 3-point goals attempted. Note that since this value starts with a number, you need to use quote-in-brackets notation to access it.
FT 
free throws — the number of free throws made
FTA 
free throw attempts — the number of attempted free throws, whether or not they were successful
ORB 
offensive rebounds — the number of rebounds made by the team on the goal they are trying to score in
DRB 
defensive rebounds — the number of rebounds made by the team on the goal they are trying to defend
TRB 
total rebounds — the total number of rebounds made by the team, regardless of which goal it was made on
AST 
assists — total number of assists (passes that lead to a score) by all players on the given team
TO 
turnovers — total number of times the team turned over possession
ST 
steals — total number of steals by all players on the given team
BLK 
blocks — total number of shots blocked by players on the given team
PF 
personal fouls — total number of personal fouls for all players on the given team

This data is also available for a team's opponents by prefixing "Opp" to the names above.

Individual Game Data

Each team also has an array of all games played that season under "Games". Each element of the array has the following properties:

win — set to 1 if the game was won by the given team, 0 otherwise
loss — set to 1 if the game was lost by the given team, 0 otherwise
PTF 
points for — the number of points scored by the given team
PTA 
points against — the number of points scored by the given team's opponent in that game
Opponent 
the name of the opponent faced in this game. In order to get stats for the opponent, you must feed it through the "$" function. If an opponent was not in Division I, the value of $(Opponent) will be falsy, and no statistics will be available.

For example, if Team A defeats Team B with a score of 76-58, that game element in Team A's Games array would be:

{ W: 1, L: 0, PTF: 76, PTA: 58, Opponent: "Team B" }

And, the element in Team B's Games array would be:

{ W: 0, L: 1, PTF: 58, PTA: 76, Opponent: "Team A" }