| get_dca_for_state | R Documentation |
Fetches annual accounts (DCA) for every municipality of state_uf, looping
over get_dca() with fault tolerance. See get_rreo_for_state() for the
rationale and behaviour of on_error.
get_dca_for_state(
state_uf,
an_exercicio,
no_anexo = NULL,
include_capital = TRUE,
on_error = c("warn", "stop", "silent"),
use_cache = TRUE,
verbose = FALSE,
page_size = NULL,
max_rows = Inf
)
get_annual_accounts_for_state(state_uf, fiscal_year, appendix = NULL,
include_capital = TRUE, on_error = c("warn", "stop", "silent"),
use_cache = TRUE, verbose = FALSE,
page_size = NULL, max_rows = Inf)
state_uf |
Character. Two-letter UF code (e.g., |
an_exercicio |
Integer. Fiscal year. Required. |
no_anexo |
Character. Appendix name filter (e.g., |
include_capital |
Logical. Include the state capital? Defaults to |
on_error |
Character. |
use_cache |
Logical. |
verbose |
Logical. |
page_size |
Integer or |
max_rows |
Numeric. |
fiscal_year |
Integer. Fiscal year. Required. Maps to |
appendix |
Character. Appendix name filter. Optional. Maps to |
get_annual_accounts_for_state() is an English-parameter alias.
A tibble with all successful DCA rows. If any
call failed, has an attribute "failed".
Other SICONFI:
get_anexos(),
get_dca(),
get_entes(),
get_extrato(),
get_msc_controle(),
get_msc_orcamentaria(),
get_msc_patrimonial(),
get_rgf(),
get_rgf_for_state(),
get_rreo(),
get_rreo_for_state()
## Not run:
dca_pe <- get_dca_for_state(state_uf = "PE", an_exercicio = 2022)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.