Learn R Programming

rnpn (version 1.2.3)

npn_get_download_url: Generate Download URL

Description

Utility function to create the service point URL. Base URL comes from zzz.R, endpoint is specified in the code, and query_vars should be a list of parameters. This function will manually put those query parameters into the proper GET syntax.

Usage

npn_get_download_url(endpoint)

Arguments

endpoint

The service point, e.g. "observations/getObservations.json?"

query_vars

List of query parameters.

Value

The URL, as a string.