Retrieves the release schedule for credit operations linked to a PVL
request. The id_pleito can be obtained from get_pvl().
Usage
get_opc_cronograma_liberacoes(
id_pleito,
use_cache = TRUE,
verbose = FALSE,
page_size = NULL,
max_rows = Inf
)
get_credit_release_schedule(request_id, use_cache = TRUE, verbose = FALSE,
page_size = NULL, max_rows = Inf)Arguments
- id_pleito
Integer. Database ID from
get_pvl(). Required.- 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 togetOption("tesouror.verbose", FALSE).- page_size
Integer or
NULL. Number of rows per API page. IfNULL(default), uses the API server default (5000 for SICONFI/SADIPEM).- max_rows
Numeric. Maximum number of rows to return. Defaults to
Inf(all rows). Useful for quick tests with large datasets (e.g.,max_rows = 100).- request_id
Integer. Database ID of the PVL request. Obtain from the
id_pleitocolumn ofget_pvl()results. Required. Maps toid_pleito.
Value
A tibble with release schedule data.
Examples
if (FALSE) { # \dontrun{
pvl_pe <- get_pvl(uf = "PE")
sched <- get_opc_cronograma_liberacoes(id_pleito = pvl_pe$id_pleito[1])
} # }