Retrieves exchange rate data for credit operations linked to a PVL
request. The id_pleito can be obtained from get_pvl().
get_opc_taxa_cambio(
id_pleito,
use_cache = TRUE,
verbose = FALSE,
page_size = NULL,
max_rows = Inf
)get_credit_exchange_rate(request_id, use_cache = TRUE, verbose = FALSE,
page_size = NULL, max_rows = Inf)
A tibble with exchange rate data.
Integer. Database ID from get_pvl(). 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. Database ID of the PVL request. Obtain
from the id_pleito column of get_pvl() results. Required.
Maps to id_pleito.
get_credit_exchange_rate() is an English alias.
Other SADIPEM:
get_opc_cronograma_liberacoes(),
get_opc_cronograma_pagamentos(),
get_pvl(),
get_pvl_tramitacao(),
get_res_cdp(),
get_res_cronograma_pagamentos()
if (FALSE) {
cambio <- get_opc_taxa_cambio(id_pleito = 40353)
}
Run the code above in your browser using DataLab