add_red_card_info: Accounting for red cards

Description Usage Arguments

View source: R/plus_minus.R

Description

This function adds the info about red card to the game_lineup

Usage

1
add_red_card_info(game_commentary, game_lineup, type_card = "red")

Arguments

game_commentary

from fcscrapR

game_lineup

computed from the package

type_card

is the type of card to consider. It has to be red, left it flexible for testing purposes


fmatano/PlusMinusData documentation built on May 28, 2019, 11:31 a.m.