No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


R tools for Brazilian Chamber of Deputies (Camara dos Deputados) data

Data Source

Camara dos Deputados web service:


Leonardo Sangali Barone, Alexia Aslan and Robert Myles McDonnell

How to install the package

install.packages("devtools"); library(devtools); install_github("leobarone/bRasilLegis")

How does it work?

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] ( provided us with a very nice example of how to use the package to build networks of federal deputies (in portuguese, [here] (


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.

Want to help the developers?

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 ( and

Citing the package

You can cite the packege in publications by using the output of the R function: citation(package = "bRasilLegis")