Learn R Programming

fastRhockey (version 0.4.0)

nhl_draft_prospects_info: NHL Draft Prospects Info

Description

Returns information on draft prospect for a given prospect id

Usage

nhl_draft_prospects_info(prospect_id)

Value

Returns a data frame: * prospect_id - * full_name - * link - * first_name - * last_name - * birth_date - * birth_city - * birth_country - * nationality - * height - * weight - * shoots_catches - * nhl_player_id - * primary_position_code - * primary_position_name - * primary_position_type - * primary_position_abbreviation - * prospect_category_id - * prospect_category_short_name - * prospect_category_name - * amateur_team_link - * amateur_league_link -

Arguments

prospect_id

Prospect unique ID

Examples

Run this code
# \donttest{
   try(nhl_draft_prospects_info(prospect_id=65242))
# }

Run the code above in your browser using DataLab