Returns all transfer arrivals and departures for a given team season

tm_team_transfers(team_url, transfer_window = "all")

Arguments

team_url

transfermarkt.com team url for a season

transfer_window

which window the transfer occurred - options include "all" for both, "summer" or "winter"

Value

returns a dataframe of all team transfers

Examples

if (FALSE) { bayern <- tm_team_transfers( team_url = "https://www.transfermarkt.com/fc-bayern-munchen/startseite/verein/27/saison_id/2020" ) # can even do it for a number of teams: team_urls <- tm_league_team_urls(country_name = "England", start_year = 2020) epl_xfers_2020 <- tm_team_transfers(team_url = team_urls, transfer_window = "all") }