pkgdown/extra.css Skip to contents

Retrieve state and municipal contracts.

Usage

tce_contracts(
  ...,
  verbose = getOption("tceper.verbose", FALSE),
  cache = TRUE,
  clean_names = TRUE
)

Arguments

...

Named query parameters passed directly to the API. Common filters: CodigoEfiscoUG, AnoReferencia, CodigoMunicipio.

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.

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_contracts(codigo_efisco_ug = "510101", verbose = TRUE)
} # }