team_match | R Documentation |
For use with the StatsBomb Data API credentials. This function is used to access the JSON file from the StatsBomb IQ API and format it as a data frame (tibble) for use in R. Currently, parallel is only supported for windows.
team_match(username, password, match_id)
username |
Character object of your StatsBomb API username. |
password |
Character object of your StatsBomb API password. |
match_id |
The ID of the match you wish to pull data for. Can be either a vector or just insert the number directly. |
df |
Returns a data frame with all the team metrics for the match specified. |
team_match_data <- team_match(username, password, 7298)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.