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

mrcreel/soccer_data documentation built on May 23, 2019, 7:14 a.m.