player_all_matches: This function returns match-by-match metrics from the IQ API for all players in a given league-season. Different to player_season, which pulls per 90 aggregated metrics.
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
player_all_matches(username, password, matches)
Arguments
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.
Value
df
Returns a data frame with all the per-match player metrics for the matches specified.