Perform an API query and handle the returned spatial data
Source:R/query_functions.R
return_spatial_data.Rd
Perform an API query and handle the returned spatial data
Arguments
- ids
the IDs of the data to be requested
- url
The API URL to query
- crs
the Coordinate Reference System (CRS) code to use. 4326 by default.
- max_tries
integer. 3 by default (for now). Passed to
httr2::req_retry ()
and controls how many times to try to perform the request, should initial attempt(s) fail.- verbosity
integer. 0 by default. Passed to
httr2::req_perform()
and controls the verbosity of the printed output from performing the request. Can be any integer from 0 to 3, orNULL
. See?req_perform
for more detail.- ...
any arguments to be passed to
opengeo_api_req()