R/report_status.R

Defines functions report_status

Documented in report_status

#' @title Report status
#' @description Information on approved and corrected reports as well as
#' matrices delivered to SICONFI.
#' @param year is a numeric vector
#' @param cod is a numeric vector. Brazilian Institute of Geography and
#' Statistics (IBGE) code assigned to each municipality and state.
#' @param verbose is a logical. Enable verbose mode. Default is \code{FALSE}
#' @return \code{tibble}
#' @examples
#' \dontrun{
#' report_status(year = 2020, cod = 35)
#' }
#' @note
#' Brazilian Public Sector Accounting and Tax Information System (Siconfi):
#' \url{http://apidatalake.tesouro.gov.br/docs/siconfi/}
#' @return \code{tibble}
#' @export

report_status <- function(year, cod, verbose = FALSE) {
  get(
    type = "extrato_entregas",
    an_referencia = year,
    id_ente = cod,
    verbose = verbose
  )
}

Try the siconfir package in your browser

Any scripts or data that you put into this service are public.

siconfir documentation built on Jan. 15, 2023, 5:09 p.m.