do_clutch_time: Get games with clutch time

View source: R/do_clutch_time.R

do_clutch_timeR Documentation

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)

Arguments

data

Source play-by-play data.

Value

Data frame of the game that has clutch time.

Author(s)

Guillermo Vinue

Examples

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


BAwiR documentation built on Nov. 14, 2023, 5:08 p.m.