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.0.0 ──
#>  Data updated: 2026-07-18 18:48:00 UTC
#> # A tibble: 8 × 10
#>   player_id player_slug   position sweater_number team_id headshot team_tri_code
#>       <int> <chr>         <chr>             <int>   <int> <chr>    <chr>        
#> 1   8484144 connor-bedar… C                    98      16 https:/… CHI          
#> 2   8483548 brandon-buss… G                    32      12 https:/… CAR          
#> 3   8484801 macklin-cele… C                    71      28 https:/… SJS          
#> 4   8471675 sidney-crosb… C                    87       5 https:/… PIT          
#> 5   8484984 ivan-demidov… R                    93       8 https:/… MTL          
#> 6   8481559 jack-hughes-… C                    86       1 https:/… NJD          
#> 7   8478402 connor-mcdav… C                    97      22 https:/… EDM          
#> 8   8485366 matthew-scha… D                    48       2 https:/… NYI          
#> # ℹ 3 more variables: team_logo <chr>, sort_id <int>, name_default <chr>
# }