Description Usage Arguments Details Value
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.
1 | aevent_info(KEYS, matchIDs, matchEvents)
|
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. |
Redis Keys used;
[SET] :: c_eventInSet:{comp_id}
[HASH] :: cme:{comp_id}:{match_id}:{event_id}
Returns nothing, a redis hash map is set with the event information and IDs are stored as a redis set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.