View source: R/worldfootballr_helpers.R
fb_league_urls | R Documentation |
Returns the URLs for season leagues of a selected country
fb_league_urls(country, gender, season_end_year, tier = "1st")
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 |
returns a character vector of all fbref league URLs for selected country, season, gender and tier
## Not run: try({ fb_league_urls(country = "ENG", gender = "M", season_end_year = 2021, tier = '1st') }) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.