listarProposicoes: List Proposals

Description Usage Arguments Value Author(s) Examples

Description

Returns a data frame containing detailed information on the requested proposals from the Camara dos Deputados. sigla (type of proposal) and ano (year of the proposal) are required parameters, unless parteNomeAutor (partial name of proposal author) is filled in. Proposal name is always a combination of sigla (type of proposal), numero (number of proposal) and ano (year of proposal).

Usage

1
2
3
4
5
listarProposicoes(sigla = "", ano = "", numero = "",
  datApresentacaoIni = "", datApresentacaoFim = "", idTipoAutor = "",
  parteNomeAutor = "", siglaPartidoAutor = "", siglaUfAutor = "",
  generoAutor = "", idSituacaoProposicao = "",
  idOrgaoSituacaoProposicao = "", emTramitacao = "")

Arguments

sigla

string, the type of the proposal(s) (check listarSiglasTipoProposicao function for help), which is part of the name of the proposal(s).

ano

integer, the year of the proposal(s) (check listarSiglasTipoProposicao function for help), which is part of the name of the proposal(s) and represents the year the proposal was written.

numero

integer, the number of the proposal(s) (check listarSiglasTipoProposicao function for help), which is part of the name of the proposal(s). This is an optional parameter and its default is empty.

datApresentacaoIni

string of format dd/mm/yyyy, the initial date of the requested proposals. This is an optional parameter and its default is empty.

datApresentacaoFim

string of format dd/mm/yyyy, the initial date of for the requested proposals. This is an optional parameter and its default is empty.

idTipoAutor

character, the id code of the type of author of proposal (for example, "Bancada", "Deputado Federal", "Senador", "Comissao Diretora", "Orgao do Poder Executivo", etc - check listarTiposAutores function for help). This is an optional parameter and its default is empty.

parteNomeAutor

string, a part of the name of the proposal author. This is an optional parameter and its default is empty.

siglaPartidoAutor

string, the political party of the author of the proposal. This is an optional parameter and its default is empty.

siglaUfAutor

string, the state (Unidade da Federacao) of the proposal author. This is an optional parameter and its default is empty.

generoAutor

string, the gender ("F" for female, "M" for male) of the proposal author. This is an optional parameter and its default is empty.

idSituacaoProposicao

string, the situation (stage of the legislative process) of the proposal (check listarSituacoesProposicao for help). This is an optional parameter and its default is empty.

idOrgaoSituacaoProposicao

string, the organ of the Camara dos Deputados where the proposition is located (check listarTiposOrgaos function for help). This is an optional parameter and its default is empty.

emTramitacao

integer, indicates if the proposition (1) is still in the legislative process, or (2) has reached an end. This is an optional parameter and its default is empty (both conditions return).

Value

A data frame containing detailed information on the requested proposals.

Author(s)

Leonardo Sangali Barone; Alexia Aslan

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# Return a data frame containing all of the propositions written in 2015
proposicoes2015 <- listarProposicoes(sigla = "PL", ano = 2015)
str(proposicoes2015)

# Return a data frame containing the details of proposition PL-404/2015
proposicaoPL4042015 <- listarProposicoes(sigla = "PL", ano = 2015, numero = 404)
print(proposicaoPL4042015)

# Return a data frame containing all of the propositions written by legislator Luiza Erundina
proposicoesDepErundina <- listarProposicoes(parteNomeAutor = "Erundina")
str(proposicoesDepErundina)

# Return a data frame containing all of the propositions written in 2003 that are still in
# the legislative process
proposicoes2015EmTramitaco <- listarProposicoes(sigla = "PL", ano = 2015, emTramitacao = 1)
str(proposicoes2015EmTramitaco)

leobarone/bRasilLegis documentation built on May 21, 2019, 4:07 a.m.