Learn R Programming

nhlscraper (version 0.2.0)

get_espn_coaches: Get ESPN coaches by season

Description

get_espn_coaches() retrieves ESPN hyperlinks for each coach for a given season; the hyperlinks are formatted in base/seasons/{ESPN Season ID}/coaches/{ESPN Coach ID}?query. Access get_seasons() for season reference. May soon be reworked to only return the ESPN Coach IDs.

Usage

get_espn_coaches(season = get_season_now()$seasonId%%10000)

Value

tibble with one row per coach

Arguments

season

integer in YYYY

Examples

Run this code
ESPN_coaches_20242025 <- get_espn_coaches(2025)

Run the code above in your browser using DataLab