Retrieve municipal-level revenue data.
Usage
tce_municipal_revenues(
...,
verbose = getOption("tceper.verbose", FALSE),
cache = TRUE,
clean_names = TRUE
)
Arguments
- ...
Named query parameters passed directly to the API.
Common filters: CodigoEfiscoUG, AnoReferencia.
- verbose
If TRUE, prints the final API URL.
- cache
If TRUE (default), returns cached results when available.
- clean_names
If TRUE (default), converts column names to
snake_case.
Examples
if (FALSE) { # \dontrun{
# Not run: reaches the live TCE-PE API, which only accepts connections
# from Brazilian IP addresses (unreachable from CRAN / most CI).
tce_municipal_revenues(id_unidade_gestora = "384")
} # }