Learn R Programming

nhlapi (version 0.1.4)

nhl_url_draft_prospects: Create an NHL API URL for draft prospects

Description

Create an NHL API URL for draft prospects

Usage

nhl_url_draft_prospects(prospectIds = NULL)

Arguments

prospectIds

integer(), vector of one or more ids of draft prospects or NULL (default) for all exposed prospects.

Value

character(), API URLs, same length as prospectIds or length 1 if prospectIds is NULL.

Examples

Run this code
# NOT RUN {
  nhlapi:::nhl_url_draft_prospects()

# }

Run the code above in your browser using DataLab