Function to List the summary stats of all games ever between two teams

Share:

Description

Function to List the summary stats of all games ever between two teams

Usage

1
games_between_sum(df = NULL, teamname1 = NULL, teamname2 = NULL)

Arguments

df

The results dataframe

teamname1

teamname1

teamname2

teamname2

Value

a dataframe with summary of results. Will be empty dataframe if never played.

Examples

1
2
3
games_between_sum(england, "Exeter City", "York City")
games_between_sum(england, "Aston Villa", "York City")
games_between_sum(england, "Manchester United", "Liverpool")