Generally you should not need to call this directly: the high-level
verbs (edr_locations(), edr_area(), etc.) build the path and
query string for you. Use edr_request() when you need to hit a
bespoke path or a non-standard parameter.
Arguments
- client
An
edr_clientfromedr_client().- path
Path under the base URL (with or without leading slash), e.g.
"collections/monitoring-locations/locations".- query
Named list of query parameters. Values may be scalars or vectors; vectors are joined with
",".NULLentries are dropped.- format
Response format: one of
"json"(default),"geojson","covjson","csv","html", or"raw". For compatibility with current pygeoapi deployments, JSON, GeoJSON, and CoverageJSON default to?f=jsonand use theAcceptheader plus response body to distinguish encodings. An explicitquery$fis always honored, so a strict endpoint's advertised token can be requested with, for example,query = list(f = "CoverageJSON")while retaining CoverageJSON parsing.- parse
If
TRUE(default), parses JSON / GeoJSON / CovJSON bodies into R structures. IfFALSE, returns the rawhttr2response.