requests: 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)
Value
a dataframe with requests containing the keyword
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.
Examples
Run this codeif (FALSE) requests(search = 'PAC')
Run the code above in your browser using DataLab