You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function returns metrics from the IQ API for all teams in a given match.}
\description{
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.}
\usage{
team_season(username, password, match_id)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
\item{username}{Character object of your StatsBomb API username.}
\item{password}{Character object of your StatsBomb API password.}
\item{match_id}{The ID of the match you wish to pull data for. Can be either a vector or just insert the number directly.}
}
\value{
\item{df}{Returns a data frame with all the team metrics for the match specified.}