Class: NBA::LeagueDashPlayerShotLocationStat
- Inherits:
-
Shale::Mapper
- Object
- Shale::Mapper
- NBA::LeagueDashPlayerShotLocationStat
- Defined in:
- lib/nba/league_dash_player_shot_location_stat.rb
Overview
Represents league-wide player shot location statistics
Instance Attribute Summary collapse
-
#above_the_break_3_fg_pct ⇒ Float?
Returns above the break 3 field goal percentage.
-
#above_the_break_3_fga ⇒ Float?
Returns above the break 3 field goals attempted.
-
#above_the_break_3_fgm ⇒ Float?
Returns above the break 3 field goals made.
-
#age ⇒ Float?
Returns the player’s age.
-
#backcourt_fg_pct ⇒ Float?
Returns backcourt field goal percentage.
-
#backcourt_fga ⇒ Float?
Returns backcourt field goals attempted.
-
#backcourt_fgm ⇒ Float?
Returns backcourt field goals made.
-
#corner_3_fg_pct ⇒ Float?
Returns corner 3 field goal percentage (combined left and right).
-
#corner_3_fga ⇒ Float?
Returns corner 3 field goals attempted (combined left and right).
-
#corner_3_fgm ⇒ Float?
Returns corner 3 field goals made (combined left and right).
-
#in_the_paint_non_ra_fg_pct ⇒ Float?
Returns in the paint (non-RA) field goal percentage.
-
#in_the_paint_non_ra_fga ⇒ Float?
Returns in the paint (non-RA) field goals attempted.
-
#in_the_paint_non_ra_fgm ⇒ Float?
Returns in the paint (non-RA) field goals made.
-
#left_corner_3_fg_pct ⇒ Float?
Returns left corner 3 field goal percentage.
-
#left_corner_3_fga ⇒ Float?
Returns left corner 3 field goals attempted.
-
#left_corner_3_fgm ⇒ Float?
Returns left corner 3 field goals made.
-
#mid_range_fg_pct ⇒ Float?
Returns mid-range field goal percentage.
-
#mid_range_fga ⇒ Float?
Returns mid-range field goals attempted.
-
#mid_range_fgm ⇒ Float?
Returns mid-range field goals made.
-
#player_id ⇒ Integer?
Returns the player ID.
-
#player_name ⇒ String?
Returns the player name.
-
#restricted_area_fg_pct ⇒ Float?
Returns restricted area field goal percentage.
-
#restricted_area_fga ⇒ Float?
Returns restricted area field goals attempted.
-
#restricted_area_fgm ⇒ Float?
Returns restricted area field goals made.
-
#right_corner_3_fg_pct ⇒ Float?
Returns right corner 3 field goal percentage.
-
#right_corner_3_fga ⇒ Float?
Returns right corner 3 field goals attempted.
-
#right_corner_3_fgm ⇒ Float?
Returns right corner 3 field goals made.
-
#team_abbreviation ⇒ String?
Returns the team abbreviation.
-
#team_id ⇒ Integer?
Returns the team ID.
Instance Method Summary collapse
-
#player ⇒ Player?
Returns the player.
-
#team ⇒ Team?
Returns the player’s team.
Instance Attribute Details
#above_the_break_3_fg_pct ⇒ Float?
Returns above the break 3 field goal percentage
195 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 195 attribute :above_the_break_3_fg_pct, Shale::Type::Float |
#above_the_break_3_fga ⇒ Float?
Returns above the break 3 field goals attempted
187 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 187 attribute :above_the_break_3_fga, Shale::Type::Float |
#above_the_break_3_fgm ⇒ Float?
Returns above the break 3 field goals made
179 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 179 attribute :above_the_break_3_fgm, Shale::Type::Float |
#age ⇒ Float?
Returns the player’s age
51 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 51 attribute :age, Shale::Type::Float |
#backcourt_fg_pct ⇒ Float?
Returns backcourt field goal percentage
219 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 219 attribute :backcourt_fg_pct, Shale::Type::Float |
#backcourt_fga ⇒ Float?
Returns backcourt field goals attempted
211 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 211 attribute :backcourt_fga, Shale::Type::Float |
#backcourt_fgm ⇒ Float?
Returns backcourt field goals made
203 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 203 attribute :backcourt_fgm, Shale::Type::Float |
#corner_3_fg_pct ⇒ Float?
Returns corner 3 field goal percentage (combined left and right)
243 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 243 attribute :corner_3_fg_pct, Shale::Type::Float |
#corner_3_fga ⇒ Float?
Returns corner 3 field goals attempted (combined left and right)
235 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 235 attribute :corner_3_fga, Shale::Type::Float |
#corner_3_fgm ⇒ Float?
Returns corner 3 field goals made (combined left and right)
227 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 227 attribute :corner_3_fgm, Shale::Type::Float |
#in_the_paint_non_ra_fg_pct ⇒ Float?
Returns in the paint (non-RA) field goal percentage
99 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 99 attribute :in_the_paint_non_ra_fg_pct, Shale::Type::Float |
#in_the_paint_non_ra_fga ⇒ Float?
Returns in the paint (non-RA) field goals attempted
91 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 91 attribute :in_the_paint_non_ra_fga, Shale::Type::Float |
#in_the_paint_non_ra_fgm ⇒ Float?
Returns in the paint (non-RA) field goals made
83 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 83 attribute :in_the_paint_non_ra_fgm, Shale::Type::Float |
#left_corner_3_fg_pct ⇒ Float?
Returns left corner 3 field goal percentage
147 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 147 attribute :left_corner_3_fg_pct, Shale::Type::Float |
#left_corner_3_fga ⇒ Float?
Returns left corner 3 field goals attempted
139 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 139 attribute :left_corner_3_fga, Shale::Type::Float |
#left_corner_3_fgm ⇒ Float?
Returns left corner 3 field goals made
131 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 131 attribute :left_corner_3_fgm, Shale::Type::Float |
#mid_range_fg_pct ⇒ Float?
Returns mid-range field goal percentage
123 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 123 attribute :mid_range_fg_pct, Shale::Type::Float |
#mid_range_fga ⇒ Float?
Returns mid-range field goals attempted
115 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 115 attribute :mid_range_fga, Shale::Type::Float |
#mid_range_fgm ⇒ Float?
Returns mid-range field goals made
107 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 107 attribute :mid_range_fgm, Shale::Type::Float |
#player_id ⇒ Integer?
Returns the player ID
19 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 19 attribute :player_id, Shale::Type::Integer |
#player_name ⇒ String?
Returns the player name
27 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 27 attribute :player_name, Shale::Type::String |
#restricted_area_fg_pct ⇒ Float?
Returns restricted area field goal percentage
75 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 75 attribute :restricted_area_fg_pct, Shale::Type::Float |
#restricted_area_fga ⇒ Float?
Returns restricted area field goals attempted
67 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 67 attribute :restricted_area_fga, Shale::Type::Float |
#restricted_area_fgm ⇒ Float?
Returns restricted area field goals made
59 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 59 attribute :restricted_area_fgm, Shale::Type::Float |
#right_corner_3_fg_pct ⇒ Float?
Returns right corner 3 field goal percentage
171 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 171 attribute :right_corner_3_fg_pct, Shale::Type::Float |
#right_corner_3_fga ⇒ Float?
Returns right corner 3 field goals attempted
163 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 163 attribute :right_corner_3_fga, Shale::Type::Float |
#right_corner_3_fgm ⇒ Float?
Returns right corner 3 field goals made
155 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 155 attribute :right_corner_3_fgm, Shale::Type::Float |
#team_abbreviation ⇒ String?
Returns the team abbreviation
43 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 43 attribute :team_abbreviation, Shale::Type::String |
#team_id ⇒ Integer?
Returns the team ID
35 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 35 attribute :team_id, Shale::Type::Integer |
Instance Method Details
#player ⇒ Player?
Returns the player
251 252 253 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 251 def player Players.find(player_id) end |
#team ⇒ Team?
Returns the player’s team
261 262 263 |
# File 'lib/nba/league_dash_player_shot_location_stat.rb', line 261 def team Teams.find(team_id) end |