fetch_despesas_deputado: Fetches expenditures from deputy
Description
Fetches expenditures from deputy with his/her parlamentary quota. If no time
parameters are passed, the fucntion returns the expenditures in the last six months.
Usage
fetch_despesas_deputado(id = NULL, idLegislatura = NULL, ano = NULL,
mes = NULL, cnpjCpfFornecedor = NULL, itens = NULL)
Arguments
id
Deputy's ID. Mandatory field
idLegislatura
Deputy's ID
ano
Expenditure's year
mes
Expenditure's month
cnpjCpfFornecedor
Provider's CPF or CNPJ
itens
Items quantity. '-1' returns all the expenditures
Value
Dataframe containing details about the deputy's expenditures