get_fiscal: Fiscal management report

View source: R/get_fiscal.R

get_fiscalR Documentation

Fiscal management report

Description

The fiscal management report will contain comparative statements with the limits referred to in the fiscal responsibility law, of the following amounts: total personnel expenses, showing expenses with assets, inactive and pensioners, net consolidated debt, granting of guarantees and counter-guarantees and operation credit.

Usage

get_fiscal(
  year,
  period,
  cod,
  freq = "Q",
  annex = NULL,
  power = c("E", "L", "J", "M", "D"),
  sphere = NULL,
  verbose = FALSE
)

Arguments

year

is a numeric vector

period

is a numeric vector, period of the year, if the parameter freq is "Q" then it will be an integer between 1 and 3. If freq is "S" then it will be an integer between 1 and 2.

cod

is a numeric vector. Brazilian Institute of Geography and Statistics (IBGE) code assigned to each municipality and state.

freq

is a character, periodicity of publication of the report, "S" is semiannual, "Q" is four-month period. The semiannual periodicity ("S") applies only to municipalities with less than 50 thousand inhabitants that opted for simplified publication. Default is "Q"

annex

is a numeric vector, an integer between 1 and 6. Default is NULL, it will get all attachments.

power

is a character vector, an acronym for each power, executive "E", legislative "L", judiciary "J", public ministry "M", Public defense "D". Default is c("E", "L", "J", "M", "D")

sphere

is a string vector. Sphere filter "M" = Municipalities, "E" = States and "DF", "U" = Union and "C" = Consortium. Default is NULL

verbose

is a logical. Enable verbose mode. Default is FALSE

Details

For more details on the parameter cod see the column cod_ibge of the function get_info

Value

tibble

Note

Brazilian Public Sector Accounting and Tax Information System (Siconfi): http://apidatalake.tesouro.gov.br/docs/siconfi/

See Also

https://conteudo.tesouro.gov.br/manuais/index.php?option=com_content&view=article&id=1344:04-00-01-01-conteudo-do-relatorio&catid=677&Itemid=675

Examples

## Not run: 
get_fiscal(year = 2019, period = 1:3, cod = 35, power = "E")

## End(Not run)
## Not run: 
get_fiscal(year = 2017, period = 2, annex = 1, cod = 1)

## End(Not run)

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