The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Note — Code chunks are shown but not executed at build time (
eval = FALSE). The discovery snippets (tce_catalog(),tce_params(),tce_fields()) work offline anywhere and can be run as-is from any network. The query snippets require a Brazilian IP (the TCE-PE API is geo-restricted).
This vignette shows how to discover endpoints and their input/output metadata using the built-in catalog shipped with tceper.
tce_catalog()Filter by keyword:
Pick an endpoint name from tce_catalog(). For instance,
LicitacaoUG:
api_name is the exact query name expected by the
API.
r_name is the snake_case name you can pass
to the R wrapper.
snake_case argumentsOnce you know which parameters exist, you can query with
snake_case arguments (the package maps them to
api_name internally).
tceper validates query parameters against the endpoint
catalog. If you pass a parameter that does not exist for that endpoint,
it aborts and shows the allowed parameter list.
To avoid this, inspect allowed parameters first:
Many wrapper functions can cache results in-memory for faster repeated calls.
You can inspect cache state with:
And clear it with:
When verbose = TRUE, cache hits may print a short
message indicating the returned object comes from cache.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.