Module: NBA::DraftCombineNonStationaryShooting::OffDribbleFifteen Private

Defined in:
lib/nba/draft_combine_non_stationary_shooting.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Extracts off-dribble fifteen-foot shot attributes

API:

  • private

Class Method Summary collapse

Class Method Details

.left(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts left break shot attributes from data

Parameters:

  • the row data

Returns:

  • left break shot attributes

API:

  • private



139
140
141
142
143
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 139

def self.left(data)
  {off_dribble_fifteen_break_left_made: data["OFF_DRIBBLE_FIFTEEN_BREAK_LEFT_MADE"],
   off_dribble_fifteen_break_left_attempt: data["OFF_DRIBBLE_FIFTEEN_BREAK_LEFT_ATTEMPT"],
   off_dribble_fifteen_break_left_pct: data["OFF_DRIBBLE_FIFTEEN_BREAK_LEFT_PCT"]}
end

.right(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts right break shot attributes from data

Parameters:

  • the row data

Returns:

  • right break shot attributes

API:

  • private



159
160
161
162
163
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 159

def self.right(data)
  {off_dribble_fifteen_break_right_made: data["OFF_DRIBBLE_FIFTEEN_BREAK_RIGHT_MADE"],
   off_dribble_fifteen_break_right_attempt: data["OFF_DRIBBLE_FIFTEEN_BREAK_RIGHT_ATTEMPT"],
   off_dribble_fifteen_break_right_pct: data["OFF_DRIBBLE_FIFTEEN_BREAK_RIGHT_PCT"]}
end

.top(data) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Extracts top key shot attributes from data

Parameters:

  • the row data

Returns:

  • top key shot attributes

API:

  • private



149
150
151
152
153
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 149

def self.top(data)
  {off_dribble_fifteen_top_key_made: data["OFF_DRIBBLE_FIFTEEN_TOP_KEY_MADE"],
   off_dribble_fifteen_top_key_attempt: data["OFF_DRIBBLE_FIFTEEN_TOP_KEY_ATTEMPT"],
   off_dribble_fifteen_top_key_pct: data["OFF_DRIBBLE_FIFTEEN_TOP_KEY_PCT"]}
end