buildGenericURL: Build the URL for a generic data source

Description Usage Arguments Value Examples

Description

This function is called by getGenericData to build the URL for retrieving the specified data source.

Usage

1
buildGenericURL(endpoint, params = list())

Arguments

endpoint,

endpoint to retrieve as a character vector

params,

list of parameters

Value

A full URL for retrieving the specified data.

Examples

1
buildGenericURL("drafthistory", params = list(LeagueID = "00"))

llefebure/nba-stats documentation built on May 21, 2019, 7:34 a.m.