do_prepare_data_or: Prepare data for the offensive rebounds computation
Description
The computation of the scoring after offensive rebounds requires a
specifical data preparation. This function does this data processing.
Usage
do_prepare_data_or(data, rm_overtime, data_ginfo)
Value
Data frame. Each row represents the action happened in the game.
The points column is added to transform the action
that finished in scoring into numbers.
Arguments
data
Source play-by-play data from a given game.
rm_overtime
Logical. Decide to remove overtimes or not.
data_ginfo
Games' basic information. If NULL, nothing to add.