Skip to main content

Variable: helper_wbb_pbp_features

const helper_wbb_pbp_features: (game_id, pbp_txt, init) => Record<string, any> = WBB.pbp_features

Defined in: src/producers/espn_basketball_pbp.ts:1243

WBB play features + timeouts (sdv-py helper_wbb_pbp_features(game_id, pbp_txt, init)): halves before 2016, else quarters.

Parameters​

game_id​

unknown

The ESPN event id.

pbp_txt​

any

The game dict after helper_wbb_game_data; also reads format.regulation.periods for the era.

init​

Init

The init dict helper_wbb_game_data returned.

Returns​

Record<string, any>

{ ...pbp_txt, plays, timeouts }.

Example​

const done = sdv.wbb.helper_wbb_pbp_features(401587390, txt, init2);

Remarks​

WNBA's chain with a 2016 season-year cutoff (the format still wins when present) and the season / team-id columns NOT cast.

See​

helper_wnba_pbp_features for the era ladders; helper_nba_pbp_features for the shared timeout, clock and per-game rules.