
Get ESPN MCH / WCH Player Contracts (core-v2)
Source:R/espn_ncaa_hockey.R
espn_mch_player_contracts.RdGet ESPN MCH / WCH Player Contracts (core-v2)
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_name | types | description |
| ref | character | $ref URL for the contract object. |
| contract_id | character | Contract id parsed from the $ref URL. |
| athlete_id | character | ESPN athlete id (echoed from arg). |
| count | integer | Total contract count (0 in practice for NHL). |
| page_count | integer | Total 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.
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
# }