games_between: Function to List all games ever between two teams

Description Usage Arguments Value Examples

View source: R/games_between.R

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

engsoccerdata documentation built on May 2, 2019, 8:29 a.m.