powered by
Returns the URLs for all teams for a given league
fb_teams_urls(league_url, time_pause = 3)
returns a character vector of all fbref team URLs for a selected league
the league URL (can be from fb_league_urls())
the wait time (in seconds) between page loads
if (FALSE) { try({ fb_teams_urls("https://fbref.com/en/comps/9/Premier-League-Stats") }) }
Run the code above in your browser using DataLab