Retrieves detailed constitutional transfer data by municipality.
get_tc_por_municipio_detalhe(
p_estado = NULL,
p_municipio = NULL,
p_ano = NULL,
p_mes = NULL,
p_transferencia = NULL,
use_cache = TRUE,
verbose = FALSE
)get_tc_by_municipality_detail(state_code = NULL,
municipality = NULL, year = NULL, month = NULL,
transfer_type = NULL, use_cache = TRUE, verbose = FALSE)
A tibble with detailed municipality transfer data.
State code(s) from get_tc_estados(). Accepts a vector
or colon-separated string. Optional.
Municipality code(s) from get_tc_municipios().
Accepts a vector or colon-separated string. Optional.
Year(s). Accepts a vector or colon-separated string. Optional.
Month(s). Accepts a vector or colon-separated string. Optional.
Transfer type code(s) from
get_tc_transferencias(). Accepts a vector or colon-separated string.
Optional.
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).
State code(s) from get_tc_estados(). Accepts a
vector or colon-separated string. Treasury codes, not IBGE.
Optional. Maps to p_estado.
Municipality code(s) from get_tc_municipios().
Accepts a vector or colon-separated string. Treasury codes.
Optional. Maps to p_municipio.
Year(s). Accepts a vector or colon-separated string.
Optional. Maps to p_ano.
Month(s) (1-12). Accepts a vector or colon-separated
string. Optional. Maps to p_mes.
Transfer type code(s) from
get_tc_transferencias(). Accepts a vector or colon-separated
string. Optional. Maps to p_transferencia.
All codes are internal Treasury codes (not IBGE). See
get_tc_estados(), get_tc_municipios(), and
get_tc_transferencias() for dictionaries.
get_tc_by_municipality_detail() is an English alias.
Other Transferencias:
get_tc_estados(),
get_tc_municipios(),
get_tc_por_estados(),
get_tc_por_estados_detalhe(),
get_tc_por_municipio(),
get_tc_transferencias()
if (FALSE) {
estados <- get_tc_estados()
pe_code <- estados$codigo[estados$nome == "Pernambuco"]
det <- get_tc_por_municipio_detalhe(p_estado = pe_code, p_ano = 2023)
}
Run the code above in your browser using DataLab