Skip to contents

Returns the current NHL player spotlight - featured players highlighted by the league.

Usage

nhl_player_spotlight()

Value

A data frame (fastRhockey_data) with the following columns:

col_nametypesdescription
player_idintegerUnique player identifier.
player_slugcharacterURL slug for the player.
positioncharacterPlayer position.
sweater_numberintegerPlayer sweater (jersey) number.
team_idintegerUnique team identifier.
headshotcharacterURL of the player headshot image.
team_tri_codecharacterThree-letter team code.
team_logocharacterURL of the team logo image.
sort_idintegerSort order identifier for the spotlight.
name_defaultcharacterPlayer name (default localization).
name_cscharacterPlayer name (Czech localization).
name_ficharacterPlayer name (Finnish localization).
name_skcharacterPlayer name (Slovak localization).

Examples

# \donttest{
  try(nhl_player_spotlight())
#> ── NHL Player Spotlight ─────────────────────────────────── fastRhockey 1.1.0 ──
#> ℹ Data updated: 2026-11-02 03:51:09 UTC
#> # A tibble: 10 × 13
#>    player_id player_slug  position sweater_number team_id headshot team_tri_code
#>        <int> <chr>        <chr>             <int>   <int> <chr>    <chr>        
#>  1   8484801 macklin-cel… C                    71      28 https:/… SJS          
#>  2   8471675 sidney-cros… C                    87       5 https:/… PIT          
#>  3   8484170 jacob-fowle… G                    32       8 https:/… MTL          
#>  4   8476945 connor-hell… G                    37       1 https:/… NJD          
#>  5   8478864 kirill-kapr… L                    97      30 https:/… MIN          
#>  6   8481611 pyotr-koche… G                    52      12 https:/… CAR          
#>  7   8476453 nikita-kuch… R                    86      14 https:/… TBL          
#>  8   8480069 cale-makar-… D                     8      21 https:/… COL          
#>  9   8478402 connor-mcda… C                    97      22 https:/… EDM          
#> 10   8485366 matthew-sch… D                    48       2 https:/… NYI          
#> # ℹ 6 more variables: team_logo <chr>, sort_id <int>, name_default <chr>,
#> #   name_cs <chr>, name_fi <chr>, name_sk <chr>
# }