referee: referee

Description Usage Arguments Details Value Examples

View source: R/referee.R

Description

This function allows R users to get referee statistics for a specified season in the English Premier League. The data is retrieved from DataHub.io and football-data.co.uk. It covers from 2002 to 2019.

Usage

1
referee(season)

Arguments

season

The season argument allows the user to specify which season he or she wants to get EPL data for. Ensure that season is in the correct character string format, e.g. "1819" for 2018 - 2019 Season and "1718" for 2017 - 2018 season.

Details

The function requires users to input one argument. This argument specifies the EPL Season that the user wants to retrieve data for.

Value

A dataframe with season statistics for the specified Season.

Examples

1
2
referee(season = "1819")
referee("1617")

gl2668/eplR documentation built on Dec. 18, 2019, 2:34 a.m.