Skip to contents

Get ESPN NHL team names and IDs

Usage

espn_nhl_teams()

Value

A teams data frame with the following columns:

col_nametypes
espn_team_idinteger
abbreviationcharacter
display_namecharacter
short_namecharacter
mascotcharacter
nicknamecharacter
teamcharacter
colorcharacter
alternate_colorcharacter
logocharacter
logo_darkcharacter
logos_href_3character
logos_href_4character

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nhl_teams())
#> ── NHL Teams data from ESPN.com ─────────────────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:18 UTC
#> # A tibble: 32 × 13
#>    espn_team_id abbre…¹ displ…² short…³ mascot nickn…⁴ team  color alter…⁵ logo 
#>           <int> <chr>   <chr>   <chr>   <chr>  <chr>   <chr> <chr> <chr>   <chr>
#>  1           25 ANA     Anahei… Ducks   Ducks  Anaheim Anah… 231f… b5985a  http…
#>  2           24 ARI     Arizon… Coyotes Coyot… Arizona Ariz… 770c… 231f20  http…
#>  3            1 BOS     Boston… Bruins  Bruins Boston  Bost… 231f… fdbb30  http…
#>  4            2 BUF     Buffal… Sabres  Sabres Buffalo Buff… 002d… fdba31  http…
#>  5            3 CGY     Calgar… Flames  Flames Calgary Calg… e519… 231f20  http…
#>  6            7 CAR     Caroli… Hurric… Hurri… Caroli… Caro… e519… 161313  http…
#>  7            4 CHI     Chicag… Blackh… Black… Chicago Chic… c810… 1b1718  http…
#>  8           17 COL     Colora… Avalan… Avala… Colora… Colo… 8600… 005695  http…
#>  9           29 CBJ     Columb… Blue J… Blue … Columb… Colu… 002d… cd202c  http…
#> 10            9 DAL     Dallas… Stars   Stars  Dallas  Dall… 0070… 8c9192  http…
#> # … with 22 more rows, 3 more variables: logo_dark <chr>, logos_href_3 <chr>,
#> #   logos_href_4 <chr>, and abbreviated variable names ¹​abbreviation,
#> #   ²​display_name, ³​short_name, ⁴​nickname, ⁵​alternate_color
# }