Returns the URLs for season leagues of a selected country

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

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

Value

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

Examples

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