Returns player information for a given player ID
nhl_player_info(player_id)
player_id | Player unique ID |
---|
Returns a tibble
# \donttest{ nhl_player_info(player_id=8476899) #> player_id full_name link first_name last_name #> 1 8476899 Matt Murray /api/v1/people/8476899 Matt Murray #> primary_number birth_date current_age birth_city birth_state_province #> 1 30 1994-05-25 27 Thunder Bay ON #> birth_country nationality height weight active alternate_captain captain #> 1 CAN CAN 6' 4" 202 TRUE FALSE FALSE #> rookie shoots_catches roster_status current_team_id current_team_name #> 1 FALSE L Y 9 Ottawa Senators #> current_team_link primary_position_code primary_position_name #> 1 /api/v1/teams/9 G Goalie #> primary_position_type primary_position_abbreviation #> 1 Goalie G # }