get_function_exp_by_pop_range: Get government functions for municipalities by population...

View source: R/get_function_exp_by_pop_range.R

get_function_exp_by_pop_rangeR Documentation

Get government functions for municipalities by population rank

Description

This function retrieves values of government functions for given municipalities by gdp rank.

Usage

get_function_exp_by_pop_range(
  pop_range = c(1, 100),
  pop_year = 2018,
  exp_year = 2019,
  gov_function = NULL,
  expense_stage = NULL
)

Arguments

pop_range

vector with two positions indicating the gdp rank range

pop_year

vector indicating the year of reference for gdp rank

exp_year

vector indicating the reference year

gov_function

vector with government functions

expense_stage

vctor with expense stages c("Despesas Empenhadas", "Despesas Liquidadas","Despesas Pagas")

Value

A tibble with data about budgetary expenses

Examples

get_function_exp_by_pop_range(pop_range=c(1,100), pop_year=2018, exp_year = 2019, gov_function = "saúde", expense_stage="Despesas Liquidadas"  )

tchiluanda/siconfiBD documentation built on Oct. 2, 2022, 10:09 p.m.