Skip to contents

Parse ESPN WNBA PBP, helper function

Parse ESPN WNBA Team Box, helper function

Parse ESPN WNBA Player Box, helper function

Usage

helper_espn_wnba_pbp(resp)

helper_espn_wnba_team_box(resp)

helper_espn_wnba_player_box(resp)

Arguments

resp

Response object from the ESPN WNBA game summary endpoint

Value

For helper_espn_wnba_pbp(): a tibble with the columns of espn_basketball_game_all_plays_schema, or NULL when the game has no play-by-play. home_score / away_score are rebuilt from the scoring plays when that reproduces the header's official final, otherwise they are ESPN's per-play values; the last column, score_source ("rebuilt" / "espn"), says which.

Returns a tibble

Returns a tibble