o311_query | R Documentation |
Low-level function to perform a generic request to the API currently
attached by o311_api
. Some open311 implementations support
unique operations that are not included in the official documentation.
This function can be used to access these URL paths.
o311_query(path, ..., simplify = TRUE)
path |
Path appendix used to access endpoint-specific operations. |
... |
Additional query parameters. |
simplify |
Whether to simplify the output using
|
You can set options(r311_echo = TRUE)
to display all requests sent
using o311_query
.
The parsed query output, either as a list or dataframe.
o311_api("rostock")
# manually query discovery
o311_query(path = "discovery", simplify = FALSE)
# query a custom path defined by the Klarschiff API
o311_query(path = "areas")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.