compute_game_playing_time: Compute playing time for all players for a given game and...

View source: R/pbp_audit_functions.R

compute_game_playing_timeR Documentation

Compute playing time for all players for a given game and team. This is used primarily to trouble shoot players-on-the-floor issues caused by missing or extra substitutions

Description

Compute playing time for all players for a given game and team. This is used primarily to trouble shoot players-on-the-floor issues caused by missing or extra substitutions

Usage

compute_game_playing_time(pbp, team)

Arguments

pbp

play by play data for exactly one full game

team

the city, nickname, abbreviation or id of the desired team

Value

a tibble indicating player id, last and first name, jersey number and minutes played

See Also

Other pbp_audit: audit_pof_vec()


kburnham/tidynbadata documentation built on Aug. 7, 2024, 12:10 a.m.