npn_get_download_url: Generate Download URL

View source: R/npn_data_download.R

npn_get_download_urlR Documentation

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)

Arguments

endpoint

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

Value

The URL, as a string.


ropensci/rnpn documentation built on Jan. 25, 2024, 6:46 p.m.