do_preproc_period: Data preprocessing for periods

View source: R/do_preproc_period.R

do_preproc_periodR Documentation

Data preprocessing for periods

Description

Preprocess the data that will be needed for computing statistics per period.

Usage

do_preproc_period(data, team_sel, period_sel, data_sl)

Arguments

data

Prepared data from a given game.

team_sel

One of the teams' names involved in the game.

period_sel

Period of interest. Options can be "xC", where x=1,2,3,4.

data_sl

Data with the starting lineups.

Author(s)

Guillermo Vinue

Examples

team_sel <- "Valencia Basket"
period_sel <- "1C"

pre_per <- do_preproc_period(acb_vbc_cz_pbp_2223, team_sel, period_sel, acb_vbc_cz_sl_2223)

df2 <- pre_per$df2
df0_inli_team <- pre_per$df0_inli_team


BAwiR documentation built on Feb. 27, 2026, 5:07 p.m.