| getSquadCoefficients | R Documentation |
Return a dataframe that contains squad ratings for a given iteration ID
getSquadCoefficients(iteration, token, host = "https://api.impect.com")
iteration |
'IMPECT' iteration ID |
token |
bearer token |
host |
host environment |
a dataframe containing the squad ratings for the given iteration ID
# Toy example: this will error quickly (no API token)
try(squad_ratings <- getSquadRatings(
iteration = 0,
token = "invalid"
))
# Real usage: requires valid Bearer Token from `getAccessToken()`
## Not run:
squad_ratings <- getSquadRatings(
iteration = 1004,
token = "yourToken"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.