View source: R/stats_from_yaml.R
A function to insert statistics not returned by the API from a well-defined yaml file.
1 | stats_from_yaml(KEYS)
|
This function takes an input list as defined in
missing_data/statistics.yaml
and reads the home and away
statistics, makes sure they exist in redis, and if they dont
then it reads the values and populates by inferring the competition
etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.