Learn R Programming

tesouror (version 0.2.2)

get_tc_transferencias: Get transfer type dictionary

Description

Retrieves the dictionary of constitutional transfer types and their numeric codes. Use these codes in the p_transferencia / transfer_type parameter of other functions.

Usage

get_tc_transferencias(use_cache = TRUE, verbose = FALSE)

get_tc_transfer_types(use_cache = TRUE, verbose = FALSE)

Value

A tibble with columns codigo (code) and nome (name) of each transfer type.

Arguments

use_cache

Logical. If TRUE (default), uses an in-memory cache.

verbose

Logical. If TRUE, prints the full API URL being called. Useful for debugging or testing in a browser. Defaults to getOption("tesouror.verbose", FALSE).

Details

These are internal Treasury codes, not IBGE codes.

get_tc_transfer_types() is an English alias.

See Also

Other Transferencias: get_tc_estados(), get_tc_municipios(), get_tc_por_estados(), get_tc_por_estados_detalhe(), get_tc_por_municipio(), get_tc_por_municipio_detalhe()

Other Transferencias dictionaries: get_tc_estados(), get_tc_municipios()

Examples

Run this code
if (FALSE) {
tipos <- get_tc_transferencias()
# Use tipos$codigo as values for p_transferencia in other functions
}

Run the code above in your browser using DataLab