View source: R/get_advanced_match_stats.R
| get_advanced_match_stats | R Documentation | 
Returns data frame of selected statistics for each match, for either whole team or individual players. Multiple URLs can be passed to the function, but only one 'stat_type' can be selected
get_advanced_match_stats(match_url, stat_type, team_or_player, time_pause = 3)
match_url | 
 the three character country code for all countries  | 
stat_type | 
 the type of team statistics the user requires  | 
team_or_player | 
 result either summarised for each team, or individual players  | 
time_pause | 
 the wait time (in seconds) between page loads The statistic type options (stat_type) include: "summary", "passing", "passing"_types, "defense" , "possession", "misc", "keeper"  | 
returns a dataframe of a selected team statistic type for a selected match(es)
## Not run: 
try({
urls <- get_match_urls(country = "AUS", gender = "F", season_end_year = 2021, tier = "1st")
df <- get_advanced_match_stats(match_url=urls,stat_type="possession",team_or_player="player")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.