team_prospects: Access the prospects for a team and position
Description
team_prospects() scrapes the prospects for a given set of team and
position.
Usage
team_prospects(team = 1, position = "forwards")
Value
data.frame with one row per player
Arguments
team
integer ID (e.g., 21), character full name (e.g., 'Colorado
Avalanche'), OR three-letter code (e.g., 'COL'); see teams() for
reference; ID is preferable as there now exists duplicate three-letter codes
(i.e., 'UTA' for 'Utah Hockey Club' and 'Utah Mammoth')
position
character of 'f'/'forwards', 'd'/'defensemen', or
'g'/'goalies'