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)

Arguments

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

The statistic type options (stat_type) include:

"summary", "passing", "passing"_types, "defense" , "possession", "misc", "keeper"

Value

returns a dataframe of a selected team statistic type for a selected match(es)

Examples

if (FALSE) { urls <- get_match_urls(country = "AUS", gender = "F", season_end_year = 2021, tier = "1st") get_advanced_match_stats(match_url=urls,stat_type="possession",team_or_player="player") }