tm_expiring_contracts: Get expiring contracts

View source: R/tm_expiring_contracts.R

tm_expiring_contractsR Documentation

Get expiring contracts

Description

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


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