nhl_url_add_params {nhlapi}R Documentation

Add parameters to URLs

Description

Add parameters to URLs

Usage

nhl_url_add_params(url, params = NULL)

Arguments

url

character(), vector of URLs.

params

⁠named list()⁠ of parameters that will be concatenated to the end of the URLs after ⁠?⁠. Parameters can have multiple values, in which case multiple URLs are created. Multiple parameters are separated by &.

Value

character(), URLs with parameters added. Same length as all the combinations of url and params.


[Package nhlapi version 0.1.4 Index]