get_team_prospects | R Documentation |
get_team_prospects()
retrieves information on each prospect for a given set of team
and player_type
, including but not limited to their ID, name, bio-metrics, and birth date and location. Access get_teams()
for team
reference.
get_team_prospects(team = "BOS", player_type = "forwards")
team |
string 3-letter Code |
player_type |
string of 'forwards', 'defensemen', or 'goalies' |
tibble with one row per player
COL_defensemen_prospects <- get_team_prospects(
team='COL',
player_type='defensemen'
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.