Return all instances of a team being involved in a game with n goals

Description

Return all instances of a team being involved in a game with n goals

Usage

1
totgoals(df = NULL, N = NULL, teamname = NULL)

Arguments

df

The results dataframe

N

Number of goals

teamname

teamname

Value

a dataframe with matches

Examples

1
2
totgoals(england, 10, "York City")
totgoals(england, 12, "Aston Villa")