process_lineups: a helper function for 'process_msf_pbp()' that adds list...

process_lineupsR Documentation

a helper function for process_msf_pbp() that adds list columns indicating which players are on the floor for any moment of the game

Description

a helper function for process_msf_pbp() that adds list columns indicating which players are on the floor for any moment of the game

Usage

process_lineups(team, subs, game_id)

Arguments

team

team id, name, city or abbreviation

subs

data.frame of substitution information

game_id

the msf game_id for the requested game

Value

play-by-play data with players_on_the_floor columns attached


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