pkgdown/extra.css Skip to contents

Retrieve state-level expenditure data.

Usage

tce_state_expenditures(
  ...,
  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.

Value

A tibble.

See also

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_state_expenditures(id_unidade_gestora = "510101")
} # }