fb_squad_wages: Get team player wages

View source: R/fbref_wages.R

fb_squad_wagesR Documentation

Get team player wages

Description

Returns all player wages from FBref via Capology

Usage

fb_squad_wages(team_urls, time_pause = 3)

Arguments

team_urls

the URL(s) of the teams(s) (can come from fb_teams_urls())

time_pause

the wait time (in seconds) between page loads

Value

returns a dataframe with all available estimated player wages for the selected team(s)

Examples

## Not run: 
try({
# for single teams:
man_city_url <- "https://fbref.com/en/squads/b8fd03ef/Manchester-City-Stats"
fb_squad_wages(team_urls = man_city_url)
})

## End(Not run)

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