Class: NBA::TeamEstimatedMetricsStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::TeamEstimatedMetricsStat
- Defined in:
- lib/nba/team_estimated_metrics_stat.rb
Overview
Represents team estimated metrics
Instance Attribute Summary collapse
-
#e_ast_ratio ⇒ Float
Returns estimated assist ratio.
-
#e_def_rating ⇒ Float
Returns estimated defensive rating.
-
#e_dreb_pct ⇒ Float
Returns estimated defensive rebound percentage.
-
#e_net_rating ⇒ Float
Returns estimated net rating.
-
#e_off_rating ⇒ Float
Returns estimated offensive rating.
-
#e_oreb_pct ⇒ Float
Returns estimated offensive rebound percentage.
-
#e_pace ⇒ Float
Returns estimated pace.
-
#e_reb_pct ⇒ Float
Returns estimated rebound percentage.
-
#e_tm_tov_pct ⇒ Float
Returns estimated team turnover percentage.
-
#gp ⇒ Integer
Returns games played.
-
#l ⇒ Integer
Returns losses.
-
#min ⇒ Float
Returns minutes per game.
-
#team_id ⇒ Integer
Returns the team ID.
-
#team_name ⇒ String
Returns the team name.
-
#w ⇒ Integer
Returns wins.
-
#w_pct ⇒ Float
Returns win percentage.
Instance Method Summary collapse
-
#team ⇒ Team?
Returns the team object.
Instance Attribute Details
#e_ast_ratio ⇒ Float
Returns estimated assist ratio
102 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 102 attribute :e_ast_ratio, Shale::Type::Float |
#e_def_rating ⇒ Float
Returns estimated defensive rating
78 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 78 attribute :e_def_rating, Shale::Type::Float |
#e_dreb_pct ⇒ Float
Returns estimated defensive rebound percentage
118 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 118 attribute :e_dreb_pct, Shale::Type::Float |
#e_net_rating ⇒ Float
Returns estimated net rating
86 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 86 attribute :e_net_rating, Shale::Type::Float |
#e_off_rating ⇒ Float
Returns estimated offensive rating
70 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 70 attribute :e_off_rating, Shale::Type::Float |
#e_oreb_pct ⇒ Float
Returns estimated offensive rebound percentage
110 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 110 attribute :e_oreb_pct, Shale::Type::Float |
#e_pace ⇒ Float
Returns estimated pace
94 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 94 attribute :e_pace, Shale::Type::Float |
#e_reb_pct ⇒ Float
Returns estimated rebound percentage
126 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 126 attribute :e_reb_pct, Shale::Type::Float |
#e_tm_tov_pct ⇒ Float
Returns estimated team turnover percentage
134 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 134 attribute :e_tm_tov_pct, Shale::Type::Float |
#gp ⇒ Integer
Returns games played
30 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 30 attribute :gp, Shale::Type::Integer |
#l ⇒ Integer
Returns losses
46 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 46 attribute :l, Shale::Type::Integer |
#min ⇒ Float
Returns minutes per game
62 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 62 attribute :min, Shale::Type::Float |
#team_id ⇒ Integer
Returns the team ID
14 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 14 attribute :team_id, Shale::Type::Integer |
#team_name ⇒ String
Returns the team name
22 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 22 attribute :team_name, Shale::Type::String |
#w ⇒ Integer
Returns wins
38 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 38 attribute :w, Shale::Type::Integer |
#w_pct ⇒ Float
Returns win percentage
54 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 54 attribute :w_pct, Shale::Type::Float |
Instance Method Details
#team ⇒ Team?
Returns the team object
142 143 144 |
# File 'lib/nba/team_estimated_metrics_stat.rb', line 142 def team Teams.find(team_id) end |