score_team: Lists all matches that a team has played in that ended in a...

Description Usage Arguments Value Examples

View source: R/score_team.R

Description

Lists all matches that a team has played in that ended in a scoreline

Usage

1
score_team(df = NULL, score = NULL, teamname = NULL)

Arguments

df

the results dataset

score

the scoreline

teamname

the team

Value

a dataframe of games ending in that result

Examples

1
2
score_team(england, "1-0", "Arsenal")  # All games ending 1-0 or 0-1 involving Arsenal
score_team(england, "4-3", "Coventry City")  # All games ending 4-3 or 3-4 involving Coventry City

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