Retrieves the extract of report deliveries for a given entity and reference year. Useful for checking which reports have been submitted and their status (approved, rectified, etc.).
get_extrato(
id_ente,
an_referencia,
use_cache = TRUE,
verbose = FALSE,
page_size = NULL,
max_rows = Inf
)get_delivery_status(entity_id, year, use_cache = TRUE, verbose = FALSE,
page_size = NULL, max_rows = Inf)
A tibble with delivery status data including
columns such as exercicio, cod_ibge, instituicao, entregavel,
periodo, periodicidade, status_relatorio, data_status,
forma_envio, and tipo_relatorio.
Integer. IBGE code of the entity. Required.
Integer. Reference year (e.g., 2022). Required.
Logical. If TRUE (default), uses an in-memory cache.
Logical. If TRUE, prints the full API URL being
called. Useful for debugging or testing in a browser. Defaults to
getOption("tesouror.verbose", FALSE).
Integer or NULL. Number of rows per API page.
If NULL (default), uses the API server default (5000 for
SICONFI/SADIPEM).
Numeric. Maximum number of rows to return. Defaults
to Inf (all rows). Useful for quick tests with large datasets
(e.g., max_rows = 100).
Integer. IBGE code of the entity. Required.
Maps to id_ente.
Integer. Reference year (e.g., 2022). Required.
Maps to an_referencia.
get_delivery_status() is an English alias for get_extrato().
Other SICONFI:
get_anexos(),
get_dca(),
get_dca_for_state(),
get_entes(),
get_msc_controle(),
get_msc_orcamentaria(),
get_msc_patrimonial(),
get_rgf(),
get_rgf_for_state(),
get_rreo(),
get_rreo_for_state()
if (FALSE) {
extrato <- get_extrato(id_ente = 17, an_referencia = 2022)
}
Run the code above in your browser using DataLab