Returns a data frame of players with expiring contracts for a selected league and time period
Usage
tm_expiring_contracts(country_name, contract_end_year, league_url = NA)
Arguments
- country_name
the country of the league's players
- contract_end_year
the year the contract is due to expire
- league_url
league url from transfermarkt.com. To be used when country_name not available in main function
Value
returns a dataframe of expiring contracts in the selected league