commentary_sub: Commentary Sub-function

Description Usage Arguments Details

View source: R/add_info.R

Description

A function that is an abstraction from acommentary_info that handles adding player statistics and general commentary information from a commentary list.

Usage

1
commentary_sub(KEYS, matchID, teamID, teamStats, commentary)

Arguments

matchID

An integer ID representing a single match as defined by the API.

teamID

An integer ID value representing a single team as defined by the API.

teamStats

A list object that contains the teams commentary statistics.

commentary

A list object that contains multiple items, including the player information.

competitionID

A character string representing the competitionID that is under investigation.

Details

Redis Keys used;


niallbenj/footballstats documentation built on Aug. 13, 2019, 5:12 p.m.