Returns player information for a given player ID
Examples
# \donttest{
try(nhl_player_info(player_id=8476899))
#> ── NHL Player Information from NHL.com ──────────────────── fastRhockey 0.6.0 ──
#> ℹ Data updated: 2023-03-08 07:47:31 UTC
#> # A tibble: 1 × 27
#> player…¹ full_…² link first…³ last_…⁴ prima…⁵ birth…⁶ curre…⁷ birth…⁸ birth…⁹
#> <int> <chr> <chr> <chr> <chr> <chr> <chr> <int> <chr> <chr>
#> 1 8476899 Matt M… /api… Matt Murray 30 1994-0… 28 Thunde… ON
#> # … with 17 more variables: birth_country <chr>, nationality <chr>,
#> # height <chr>, weight <int>, active <lgl>, alternate_captain <lgl>,
#> # captain <lgl>, rookie <lgl>, shoots_catches <chr>, roster_status <chr>,
#> # current_team_id <int>, current_team_name <chr>, current_team_link <chr>,
#> # primary_position_code <chr>, primary_position_name <chr>,
#> # primary_position_type <chr>, primary_position_abbreviation <chr>, and
#> # abbreviated variable names ¹player_id, ²full_name, ³first_name, …
# }