View source: R/do_clutch_time.R
do_clutch_time | R Documentation |
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.
do_clutch_time(data)
data |
Source play-by-play data. |
Data frame of the game that has clutch time.
Guillermo Vinue
df0 <- do_clutch_time(acb_vbc_cz_pbp_2223)
#df0 # If no rows, that means that the game did not have clutch time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.