get_orgaos: Extracts party organ datas from TSE

Description Usage Arguments

Description

A função get_orgaos extrai os orgãos partidádios de acordo com o nível regional utilizado pelo usuá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/tseorgaosR documentation built on May 28, 2019, 5:38 a.m.