acommentary_info: acommentary_info

Description Usage Arguments Details Value

View source: R/add_info.R

Description

A function that takes a KEYS$COMP and matchID's, and determines general match statistics for both local team and visitor team

Usage

1
acommentary_info(KEYS, matchIDs, localteam, visitorteam)

Arguments

KEYS

A list containing options such as testing / prediction / important variables and information. Also contains API information.

matchIDs

A character vector of matchIDs that match the matchEvents.

localteam

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

visitorteam

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

Details

Redis keys used;

Value

Returns nothing, a redis hash map is set with the commentary information and IDs are stored as a redis set.


ntyndall/footballstats documentation built on Aug. 13, 2019, 1:36 p.m.