games_between: Function to List all games ever between two teams

Description Usage Arguments Value Examples

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")


Search within the engsoccerdata package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.