R tools for Brazilian Chamber of Deputies (Camara dos Deputados) data
Camara dos Deputados web service: http://www2.camara.leg.br/transparencia/dados-abertos/dados-abertos-legislativo
Leonardo Sangali Barone leobarone@gmail.com, Alexia Aslan alexia.aslan@gmail.com and Robert Myles McDonnell robertmylesmcdonnell@gmail.com
install.packages("devtools"); library(devtools); install_github("leobarone/bRasilLegis")
The package offers methods to fetch legislative information stored in the web API maintained by the Brazilian Chamber of Deputies. Tutorial coming soon. Please check the Câmara dos Deputados web service for detailed information on the data available.
[Neylson Crepalde] (https://www.facebook.com/neylson.crepalde) provided us with a very nice example of how to use the package to build networks of federal deputies (in portuguese, [here] (https://neylsoncrepalde.github.io/2016-04-01-Rede-de-Parlamentares-usando-o-pacote-bRasilLegis/)).
This package depends on 2 other R packages: XML and httr. Please, make sure you have them ready prior to using bRasilLeg. ALL of the functions require XML and httr.
This is an ongoing open source and open minded project. The main purposes are to generate public data on Brazilian politics, enhance government transparency, help the political science community and have fun. If you have comments, critics, suggestions or even want to be part of the developing team, just write us (leobarone@gmail.com and alexia.aslan@gmail.com).
You can cite the packege in publications by using the output of the R function: citation(package = "bRasilLegis")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.