get_orgaos: Extracts party organ datas from TSE

Description Usage Arguments

View source: R/query.R

Description

A fun<c3><a7><c3><a3>o get_orgaos extrai os org<c3><a3>os partid<c3><a1>dios de acordo com o n<c3><ad>vel regional utilizado pelo usu<c3><a1>rio.

* get_orgaos() extracts information about the party organ.

* get_members() extracts members informations from a specified organ.

Usage

1
2
get_orgaos(agreg, partido = 0, zona = 0, uni_eleitoral = NULL,
  uni_eleitoral_superior = NULL, history = "false")

Arguments

agreg

character - regional agregation desired. (nacional, estadual, municipal, regional(DF), zona(DF)

partido

integer - party numver. 0 returns data from all parties.

zona

integer - zone number. Only used with zona(DF) regional agregation.

uni_eleitoral

character or integer - Electoral unity. Should not be used with nacional agregation. When used with "estadual" regional agregation, a state should be specified (ex. "SP", "RJ", "BA", etc.). When used with "municipal" regional agregation, the municipality TSE number should be specified.

uni_eleitoral_superior

character - Only used with "municipal" regional agregation. The state should be specified (ex. "SP", "RJ", "BA", etc.).

history

character - false or true. If true, the API request will return data from previous years.


GV-CEPESP/tse_orgaos documentation built on May 16, 2019, 11:11 p.m.