50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


BAwiR (version 1.3.4)

do_clutch_time: Get games with clutch time

Description

Obtain the games that have clutch time. The clutch time is the game situation when the scoring margin is within 5 points with five or fewer minutes remaining in a game.

Usage

do_clutch_time(data)

Value

Data frame of the game that has clutch time.

Arguments

data

Source play-by-play data.

Author

Guillermo Vinue

Examples

Run this code
df0 <- do_clutch_time(acb_vbc_cz_pbp_2223)
#df0 # If no rows, that means that the game did not have clutch time.

Run the code above in your browser using DataLab