Module: NBA::DraftCombineNonStationaryShooting::OffDribbleCollege 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 college range shot attributes

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:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    left break shot attributes



207
208
209
210
211
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 207

def self.left(data)
  {off_dribble_college_break_left_made: data["OFF_DRIBBLE_COLLEGE_BREAK_LEFT_MADE"],
   off_dribble_college_break_left_attempt: data["OFF_DRIBBLE_COLLEGE_BREAK_LEFT_ATTEMPT"],
   off_dribble_college_break_left_pct: data["OFF_DRIBBLE_COLLEGE_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:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    right break shot attributes



227
228
229
230
231
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 227

def self.right(data)
  {off_dribble_college_break_right_made: data["OFF_DRIBBLE_COLLEGE_BREAK_RIGHT_MADE"],
   off_dribble_college_break_right_attempt: data["OFF_DRIBBLE_COLLEGE_BREAK_RIGHT_ATTEMPT"],
   off_dribble_college_break_right_pct: data["OFF_DRIBBLE_COLLEGE_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:

  • data (Hash)

    the row data

Returns:

  • (Hash)

    top key shot attributes



217
218
219
220
221
# File 'lib/nba/draft_combine_non_stationary_shooting.rb', line 217

def self.top(data)
  {off_dribble_college_top_key_made: data["OFF_DRIBBLE_COLLEGE_TOP_KEY_MADE"],
   off_dribble_college_top_key_attempt: data["OFF_DRIBBLE_COLLEGE_TOP_KEY_ATTEMPT"],
   off_dribble_college_top_key_pct: data["OFF_DRIBBLE_COLLEGE_TOP_KEY_PCT"]}
end