get_football_data: Get season data for one league

Description Usage Arguments Examples

Description

Retrieve season level data from http://www.football-data.co.uk in a tidy format. The data is downloaded on a competition-season level

Usage

1
get_football_data(season = 2017, league_name = "E0")

Arguments

season

The year (as a number) that the required season began. For example for the 2018/2019 season, use 2018

league_name

The code (as a string) for the required league. At the moment only "E0" for the English Premier League is supported

Examples

1
2
3
4
## Not run: 
get_football_data(season = 2017, league = "E0")

## End(Not run)

tojyouso/footballdatar documentation built on May 10, 2019, 1:25 p.m.