Description Usage Arguments Details Value
A function that takes a KEYS$COMP and matchID's, and determines general match statistics for both local team and visitor team
1 | acommentary_info(KEYS, matchIDs, localteam, visitorteam)
|
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. |
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 commentary 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.