games_between: Function to List all games ever between two teams

View source: R/games_between.R

games_betweenR Documentation

Function to List all games ever between two teams

Description

Function to List all games ever between two teams

Usage

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

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


jalapic/engsoccerdata documentation built on Nov. 15, 2022, 3:34 a.m.