Skip to contents

Get ESPN NHL League Notes (core-v2)

Usage

espn_nhl_league_notes(...)

Arguments

...

Reserved for forward compatibility.

Value

A fastRhockey_data tibble with one row per league note reference, or an empty tibble when the endpoint is unavailable. Note: The NHL league notes endpoint (core_v2/notes) currently returns count=0 - an empty tibble is returned gracefully:

col_nametypesdescription
refcharacter$ref URL for the note object.
note_idcharacterESPN note id parsed from the $ref URL.
countintegerTotal notes in the collection (typically 0).
page_countintegerTotal pages in the collection.

See also

family_espn_nhl lists every function in this family.

Author

Saiem Gilani

Examples

# \donttest{
  # NOTE: Returns empty tibble for NHL (ESPN does not populate this endpoint)
  try(espn_nhl_league_notes())
#> ! ESPN NHL league notes endpoint returned no items (count=0 is normal for NHL).
#> data frame with 0 columns and 0 rows
# }