Skip to contents

A table with some statistics comparing two teams in a game

Usage

compare_teams(df, game)

Arguments

df

A data frame with data from the rocket league stats api

game

A string specifying the guid of the desired match to analyze.

Value

A table with statistics comparing the teams partaking in a game

Examples

compare_teams(TDMZ443games, game = "D96D303C11F15617E1F59A8137901B26")
Stats for teams
TeamNum Number_Of_Goals Number_of_Ball_Touches Number_Of_Shots Number_Of_Saves Number_Of_Assists Number_Of_Car_Touches Number_Of_Demos
0 2 144 8 2 1 360 2
1 0 124 2 5 0 344 5