formatelapsedtime | R Documentation |
For use with the StatsBomb Data API credentials. After StatsBomb data is read in from the API, JSON file, this function uses the timestamp and period information to create an elapsed time from the beginning of the match variable.
formatelapsedtime(dataframe)
dataframe |
Dataframe object gathered from the StatsBomb API. |
df |
Returns a data frame with all of the time information. Elapsed Time presented as time from thestart of the match in seconds. |
formatelapsedtime(dataframe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.