Learn R Programming

rnpn (version 1.3.0)

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. This function will manually put those query parameters into the proper GET syntax.

Usage

npn_get_download_url(endpoint)

Value

The URL, as a string.

Arguments

endpoint

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

Examples

Run this code
if (FALSE) {
url <- npn_get_download_url("/observations/getMagnitudeData.ndjson")
}

Run the code above in your browser using DataLab