team_all_matches | 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_all_matches(username, password, matches)
username |
Character object of your StatsBomb API username. |
password |
Character object of your StatsBomb API password. |
matches |
Character vector of the matches you wish to access. |
df |
Returns a data frame with all the per-match team metrics for the matches specified. |
matchids <- matchesvector(username, password, 90, 2)
pl_2024_25_team_match <- team_all_matches(username, password, matchids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.