Skip to contents

Returns NHL Teams information for a given team ID

Usage

nhl_teams_info(team_id)

Arguments

team_id

A unique team ID

Value

Returns a tibble

Examples

# \donttest{
  try(nhl_teams_info(team_id = 14))
#> ── NHL Teams Information from NHL.com ───────────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:47:40 UTC
#> # A tibble: 1 × 28
#>   team_id name     link  abbre…¹ team_…² locat…³ first…⁴ short…⁵ offic…⁶ franc…⁷
#>     <int> <chr>    <chr> <chr>   <chr>   <chr>   <chr>   <chr>   <chr>     <int>
#> 1      14 Tampa B… /api… TBL     Lightn… Tampa … 1991    Tampa … http:/…      31
#> # … with 18 more variables: active <lgl>, venue_name <chr>, venue_link <chr>,
#> #   venue_city <chr>, venue_time_zone_id <chr>, venue_time_zone_offset <int>,
#> #   venue_time_zone_tz <chr>, division_id <int>, division_name <chr>,
#> #   division_name_short <chr>, division_link <chr>,
#> #   division_abbreviation <chr>, conference_id <int>, conference_name <chr>,
#> #   conference_link <chr>, franchise_franchise_id <int>,
#> #   franchise_team_name <chr>, franchise_link <chr>, and abbreviated variable …
# }