Congressbr: An R Package for Analyzing Data from Brazil’s Chamber of Deputies and Federal Senate
Author(s) -
Robert Myles McDonnell,
Guilherme Jardim Duarte,
Danilo Freire
Publication year - 2019
Publication title -
latin american research review
Language(s) - Portuguese
Resource type - Journals
SCImago Journal Rank - 0.489
H-Index - 48
eISSN - 1542-4278
pISSN - 0023-8791
DOI - 10.25222/larr.447
Subject(s) - chamber of deputies , legislature , task (project management) , computer science , package design , political science , operations research , engineering drawing , engineering , law , systems engineering
In this research note, we introduce congressbr, an R package for retrieving data from the Brazilian houses of legislature. The package contains easy-to-use functions that allow researchers to query the Application Programming Interfaces of Brazil’s Chamber of Deputies and the Federal Senate, perform cleaning data operations, and store information in a format convenient for future analyses, making a previously difficult task fast and convenient. Congressbr downloads data on legislators, submitted and ratified law proposals, Senate and Chamber commissions, and other information of interest to social scientists across various fields. We outline the main features of the package and demonstrate its use with practical examples. Resumo Nesta nota de pesquisa, apresentamos o congressbr, um pacote para R para obtencao de dados das duas casas legislativas do Brasil. O pacote contem funcoes intuitivas que permitem aos pesquisadores fazer buscas no API da Câmara de Deputados e do Senado Federal brasileiros, realizar tarefas de limpeza de dados, e gravar informacoes em um formato adequado para analises futuras, simplificando tarefas anteriormente dificeis. O congressbr baixa dados sobre legisladores, projetos de lei submetidos e aprovados, comissoes na Câmara e no Senado, alem de outras informacoes de interesse para cientistas sociais de diversas areas. Trazemos uma breve exposicao das caracteristicas principais do pacote e demostramos como usa-lo por meio de exemplos praticos.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom