Learn R Programming

worldfootballR (version 0.6.2)

fb_league_urls: Get fbref League URLs

Description

Returns the URLs for season leagues of a selected country

Usage

fb_league_urls(country, gender, season_end_year, tier = "1st")

Value

returns a character vector of all fbref league URLs for selected country, season, gender and tier

Arguments

country

the three character country code

gender

gender of competition, either "M" or "F"

season_end_year

the year the season(s) concludes (defaults to all available seasons)

tier

the tier of the league, ie '1st' for the EPL or '2nd' for the Championship and so on

Examples

Run this code
if (FALSE) {
try({
fb_league_urls(country = "ENG", gender = "M", season_end_year = 2021, tier = '1st')
})
}

Run the code above in your browser using DataLab