Learn R Programming

rcongresso

Pacote R para acessar dados do congresso nacional baseado na API RESTful criada em 2017, gerando data frames e interagindo bem com o tidyverse.

Site: https://analytics-ufcg.github.io/rcongresso

Para instalar:

# Versão estável: 
install.packages("rcongresso")

# A mais atual: 
# install.packages('devtools')
devtools::install_github('analytics-ufcg/rcongresso')

Exemplos de uso:

vignette("introducao-rcongresso", package="rcongresso")
vignette("purrr-e-rcongresso", package="rcongresso")

# se você instalou do github, antes faça: devtools::build_vignettes()

Copy Link

Version

Install

install.packages('rcongresso')

Monthly Downloads

18

Version

0.4.6

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Paulo Vin<c3><ad>cius Soares

Last Published

May 25th, 2018

Functions in rcongresso (0.4.6)

fetch_votos

Fetches individual votes from a voting
get_votos_partidos

Fetches the positions by party on a voting
fetch_orientacoes

Fetches the positions of a group on a voting
fetch_partido

Fetches parties from API using a query.
fetch_votacao

Fetches details about a voting
fetch_votacoes

Fetches all the votings which a proposition went through
fetch_relacionadas

Fetches all propositions related to a proposition
fetch_tipo_proposicao

Fetches the type of the proposition from its id
fetch_id_partido

Retrieves the party's ID from its abbreviation.
fetch_id_proposicao

Retrieves the proposition ID from its type, number and year
fetch_deputado

Retrieves details about a deputy
fetch_despesas_deputado

Fetches expenditures from deputy
fetch_proposicao

Fetches proposition from API using a query
fetch_proposicao_from_votacao

Finds the id of the proposition to which a given voting refers
rcongresso

rcongresso: R Package to access Brazil's national congress data based on its RESTful API.
ultima_votacao

Gets the last voting on a given voting