fb_league_urls: Get fbref League URLs

View source: R/worldfootballr_helpers.R

fb_league_urlsR 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)

worldfootballR documentation built on Nov. 26, 2022, 9:05 a.m.