Package 'dail'

Title: Data from Access to Information Law
Description: Downloads the public data available from the Brazilian Access to Information Law and and performs a search on information requests and appeals made since 2015.
Authors: Igor Laltuf [aut, cre]
Maintainer: Igor Laltuf <[email protected]>
License: MIT + file LICENSE
Version: 1.5.2
Built: 2025-03-07 02:52:26 UTC
Source: https://github.com/igorlaltuf/dail

Help Index


Queries the appeals made through the Brazilian Right to Information Law

Description

Downloads data for the selected years, apply a filter and return it in the form of a dataframe.

Usage

appeals(year = "all", agency = "all", search = "all", answer = F)

Arguments

year

selects the years which data will be downloaded. integer.

agency

selects the public agency to be searched. see the available agencies in agencies_initials. character.

search

selects the keyword to be searched. character.

answer

if true, fetches the content of the search argument in the appeals responses. boolean.

Value

a dataframe with appeals containing the keyword

Examples

## Not run: appeals(search = 'PAC')

Queries presidential expenses with the corporate card

Description

Downloads data from 2002 to 2022 and return it in the form of a dataframe. Deflated values refer to values in November 2022.

Usage

corporateCardExpenses()

Value

a dataframe with the data from 2002 to 2022.

Examples

## Not run: df <- corporateCardExpenses()

Queries the requests made through the Brazilian Right to Information Law

Description

Downloads data for the selected years, apply a filter and return it in the form of a dataframe.

Usage

requests(year = "all", agency = "all", search = "all", answer = F)

Arguments

year

selects the years which data will be downloaded. integer.

agency

selects the public agency to be searched. see the available agencies in agencies_initials. character.

search

selects the keyword to be searched. character.

answer

if true, fetches the content of the search argument in the request responses. boolean.

Value

a dataframe with requests containing the keyword

Examples

## Not run: requests(search = 'PAC')