
Get the latest available schedule for the Premier League in a given season
Source:R/get_openData_schedule.R
get_openData_schedule.RdThis function retrieves the latest data on the Premier League results for a given season.
Arguments
- value_path
This is the location of the data on GitHub. See the example below for reference and use an address of the form, 'https://raw.githubusercontent.com/openfootball/football.json/refs/heads/master/2024-25/en.1.json'. Note that this data is updated with scores later in the season.
- table_teams
These are the teams in the season's Premier League, available as the
teamsdataset in this package.- value_yearEnd
This is the integer required as the year in which the season ends.