fb_league_urls {worldfootballR} | R Documentation |
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")
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
## Not run:
try({
fb_league_urls(country = "ENG", gender = "M", season_end_year = 2021, tier = '1st')
})
## End(Not run)
[Package worldfootballR version 0.6.2 Index]