Function to List all games ever between two teams

Description

Function to List all games ever between two teams

Usage

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

Arguments

df

The results dataframe

teamname1

teamname1

teamname2

teamname2

Value

a dataframe of games between the two teams. If they have never played will return an empty dataframe.

Examples

1
2
games_between(england, "Aston Villa", "York City")
games_between(england, "Carlisle United", "Chelsea")