Return all instances of a team scoring n goals

Description

Return all instances of a team scoring n goals

Usage

1
ngoals(df = NULL, n = NULL, teamname = NULL)

Arguments

df

The results dataframe

n

Number of goals

teamname

teamname

Value

a dataframe with summary of results.

Examples

1
2
3
ngoals(england, 7, "York City")
ngoals(england, 8, "Manchester United")
ngoals(england, 9, "Aston Villa")