Skip to contents

Get ESPN MCH / WCH Player Contracts (core-v2)

Usage

espn_mch_player_contracts(athlete_id, ...)

espn_wch_player_contracts(athlete_id, ...)

Arguments

athlete_id

ESPN athlete identifier (character or numeric).

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per contract, or an empty data frame if no contract data is served. As of 2026-06-08, ESPN core-v2 returns count=0 for all queried NHL players (DONE_WITH_CONCERNS: endpoint exists but data is not populated).

col_nametypesdescription
refcharacter$ref URL for the contract object.
contract_idcharacterContract id parsed from the $ref URL.
athlete_idcharacterESPN athlete id (echoed from arg).
countintegerTotal contract count (0 in practice for NHL).
page_countintegerTotal page count.

Details

League slug mens-college-hockey; season is the END year (2026 = 2025-26). Same ESPN helper as espn_nhl_player_contracts() (columns inherited); a collection may be empty.

espn_wch_player_contracts() is the same wrapper for women's college hockey (league slug womens-college-hockey): same arguments, same columns.

See also

family_espn_mch lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_mch_player_contracts(athlete_id = "5136656"))
#> ! espn_nhl_player_contracts(): No contract data served by ESPN core-v2 for athlete 5136656 in the NHL. The endpoint responds with count=0 for all queried NHL players (DONE_WITH_CONCERNS: endpoint exists but data is not populated).
#> data frame with 0 columns and 0 rows
# }
# \donttest{
  try(espn_wch_player_contracts(athlete_id = "5263060"))
#> ! espn_nhl_player_contracts(): No contract data served by ESPN core-v2 for athlete 5263060 in the NHL. The endpoint responds with count=0 for all queried NHL players (DONE_WITH_CONCERNS: endpoint exists but data is not populated).
#> data frame with 0 columns and 0 rows
# }