Skip to main content

Interface: ShotRow

Defined in: packages/sdvplot/src/shots/aggregate.ts:15

One field-goal attempt, as the nba_stats_shots release ships it: x_legacy/y_legacy in tenths of a foot, hoop at the origin, y toward half court; shot_distance in ROUNDED feet. Map other schemas once, first.

Properties​

shot_distance​

readonly shot_distance: number

Defined in: packages/sdvplot/src/shots/aggregate.ts:18


shot_result​

readonly shot_result: string

Defined in: packages/sdvplot/src/shots/aggregate.ts:22

"Made" or "Missed".


shot_value​

readonly shot_value: number

Defined in: packages/sdvplot/src/shots/aggregate.ts:20

2 or 3; zones read it (the scorer's call, not the coordinates).


x_legacy​

readonly x_legacy: number

Defined in: packages/sdvplot/src/shots/aggregate.ts:16


y_legacy​

readonly y_legacy: number

Defined in: packages/sdvplot/src/shots/aggregate.ts:17