Returns NHL Teams roster information for a given team ID

nhl_teams_roster(team_id)

Arguments

team_id

A unique team ID

Value

Returns a tibble

Examples

# \donttest{
  nhl_teams_roster(team_id = 14)
#>    jersey_number player_id         player_full_name            player_link
#> 1             86   8476453          Nikita Kucherov /api/v1/people/8476453
#> 2             46   8476966              Gemel Smith /api/v1/people/8476966
#> 3             29   8477205             Andrej Sustr /api/v1/people/8477205
#> 4             10   8470621              Corey Perry /api/v1/people/8470621
#> 5              1   8470880            Brian Elliott /api/v1/people/8470880
#> 6             17   8473986             Alex Killorn /api/v1/people/8473986
#> 7             14   8474034               Pat Maroon /api/v1/people/8474034
#> 8             27   8474151            Ryan McDonagh /api/v1/people/8474151
#> 9             91   8474564           Steven Stamkos /api/v1/people/8474564
#> 10            24   8474567            Zach Bogosian /api/v1/people/8474567
#> 11            77   8475167            Victor Hedman /api/v1/people/8475167
#> 12            18   8476292             Ondrej Palat /api/v1/people/8476292
#> 13            88   8476883       Andrei Vasilevskiy /api/v1/people/8476883
#> 14            41   8477930 Pierre-Edouard Bellemare /api/v1/people/8477930
#> 15            21   8478010            Brayden Point /api/v1/people/8478010
#> 16            81   8478416              Erik Cernak /api/v1/people/8478416
#> 17             7   8478472           Mathieu Joseph /api/v1/people/8478472
#> 18            71   8478519          Anthony Cirelli /api/v1/people/8478519
#> 19            13   8479383           Boris Katchouk /api/v1/people/8479383
#> 20            16   8479390           Taylor Raddysh /api/v1/people/8479390
#> 21            98   8479410        Mikhail Sergachev /api/v1/people/8479410
#> 22            79   8479525              Ross Colton /api/v1/people/8479525
#> 23            12   8479718        Alex Barré-Boulet /api/v1/people/8479718
#> 24            52   8479984                Cal Foote /api/v1/people/8479984
#> 25            44   8480172                Jan Rutta /api/v1/people/8480172
#>    position_code position_name position_type position_abbreviation
#> 1              R    Right Wing       Forward                    RW
#> 2              C        Center       Forward                     C
#> 3              D    Defenseman    Defenseman                     D
#> 4              R    Right Wing       Forward                    RW
#> 5              G        Goalie        Goalie                     G
#> 6              L     Left Wing       Forward                    LW
#> 7              L     Left Wing       Forward                    LW
#> 8              D    Defenseman    Defenseman                     D
#> 9              C        Center       Forward                     C
#> 10             D    Defenseman    Defenseman                     D
#> 11             D    Defenseman    Defenseman                     D
#> 12             L     Left Wing       Forward                    LW
#> 13             G        Goalie        Goalie                     G
#> 14             L     Left Wing       Forward                    LW
#> 15             C        Center       Forward                     C
#> 16             D    Defenseman    Defenseman                     D
#> 17             R    Right Wing       Forward                    RW
#> 18             C        Center       Forward                     C
#> 19             L     Left Wing       Forward                    LW
#> 20             R    Right Wing       Forward                    RW
#> 21             D    Defenseman    Defenseman                     D
#> 22             C        Center       Forward                     C
#> 23             C        Center       Forward                     C
#> 24             D    Defenseman    Defenseman                     D
#> 25             D    Defenseman    Defenseman                     D
# }