| getSquadMatchScores | R Documentation |
Return a dataframe that contains squad level scores and ratios for a given match ID
getSquadMatchScores(matches, token, host = "https://api.impect.com")
matches |
'IMPECT' match IDs |
token |
bearer token |
host |
host environment |
a dataframe containing the scores and rations aggregated per squad for the given match ID
# Toy example: this will error quickly (no API token)
try(squad_match_scores <- getSquadMatchScores(
matches = c(0, 1),
token = "invalid"
))
# Real usage: requires valid Bearer Token from `getAccessToken()`
## Not run:
squad_match_scores <- getSquadMatchScores(
matches = c(84248, 158150),
token = "yourToken"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.