aevent_info: aevent_info

Description Usage Arguments Details Value

View source: R/add_info.R

Description

A function that takes a KEYS$COMP, matchID's, and a data frame containing match event information to be split up and added to redis as single events.

Usage

1
aevent_info(KEYS, matchIDs, matchEvents)

Arguments

KEYS

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

matchIDs

An integer character vector of matchIDs that match the matchEvents.

matchEvents

A list of data frames containing individual events grouped per match.

Details

Redis Keys used;

Value

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


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