Skip to content

Commit

Permalink
Add Cargo and Ano details to each documentation file
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyPhillips committed Oct 10, 2017
1 parent 2d09dd6 commit d8ff307
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Candidatos.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,35 @@
```bash
curl -i -g -X GET "http://cepesp.io/api/consulta/candidatos?ano=2010&cargo=3&selected_columns[]="ANO_ELEICAO"&selected_columns[]="NUM_TURNO"&selected_columns[]="CODIGO_CARGO"&selected_columns[]="NOME_URNA_CANDIDATO"&selected_columns[]="NUMERO_CANDIDATO""
```
## Cargo:

| Cargo(position) | Número |
| ------------------------- |:------:|
| Presidente | 1 |
| Governador | 3 |
| Senador | 5 |
| Deputado Federal | 6 |
| Deputado Estadual | 7 |
| Deputado Distrital | 8 |
| Prefeito | 11 |
| Vereador | 13 |

## Ano:

| Ano | Cargos Disponíveis (Descrição) | Cargos Disponíveis (Numero) |
| ------------------------- |:------|:-----:|
| 1998 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2000 | Prefeito, Vereador | 11, 13 |
| 2002 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2004 | Prefeito, Vereador | 11, 13 |
| 2006 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2008 | Prefeito, Vereador | 11, 13 |
| 2010 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2012 | Prefeito, Vereador | 11, 13 |
| 2014 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2016 | Prefeito, Vereador | 11, 13 |



## Colunas Disponíveis:

Expand Down
30 changes: 30 additions & 0 deletions Legendas.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,36 @@
curl -i -g -X GET "http://cepesp.io/api/consulta/legendas?ano=2010&cargo=3&selected_columns[]="ANO_ELEICAO"&selected_columns[]="NUM_TURNO"&selected_columns[]="CODIGO_CARGO"&selected_columns[]="NOME_PARTIDO"&selected_columns[]="NUMERO_PARTIDO""
```

## Cargo:

| Cargo(position) | Número |
| ------------------------- |:------:|
| Presidente | 1 |
| Governador | 3 |
| Senador | 5 |
| Deputado Federal | 6 |
| Deputado Estadual | 7 |
| Deputado Distrital | 8 |
| Prefeito | 11 |
| Vereador | 13 |

## Ano:

| Ano | Cargos Disponíveis (Descrição) | Cargos Disponíveis (Numero) |
| ------------------------- |:------|:-----:|
| 1998 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2000 | Prefeito, Vereador | 11, 13 |
| 2002 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2004 | Prefeito, Vereador | 11, 13 |
| 2006 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2008 | Prefeito, Vereador | 11, 13 |
| 2010 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2012 | Prefeito, Vereador | 11, 13 |
| 2014 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2016 | Prefeito, Vereador | 11, 13 |



## Colunas Disponíveis:

- DATA_GERACAO
Expand Down
29 changes: 29 additions & 0 deletions VotacaoSecao.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,35 @@
curl -i -g -X GET "http://cepesp.io/api/consulta/votos?ano=2010&cargo=3&agregacao_regional=1&selected_columns[]="NUM_TURNO"&selected_columns[]="NOME_MACRO"&selected_columns[]="DESCRICAO_CARGO"&selected_columns[]="QTDE_VOTOS""
```

## Cargo:

| Cargo(position) | Número |
| ------------------------- |:------:|
| Presidente | 1 |
| Governador | 3 |
| Senador | 5 |
| Deputado Federal | 6 |
| Deputado Estadual | 7 |
| Deputado Distrital | 8 |
| Prefeito | 11 |
| Vereador | 13 |

## Ano:

| Ano | Cargos Disponíveis (Descrição) | Cargos Disponíveis (Numero) |
| ------------------------- |:------|:-----:|
| 1998 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2000 | Prefeito, Vereador | 11, 13 |
| 2002 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2004 | Prefeito, Vereador | 11, 13 |
| 2006 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2008 | Prefeito, Vereador | 11, 13 |
| 2010 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2012 | Prefeito, Vereador | 11, 13 |
| 2014 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2016 | Prefeito, Vereador | 11, 13 |


## Colunas Disponíveis:

Cada tipo de agregação regional adiciona colunas diferentes.
Expand Down
29 changes: 29 additions & 0 deletions VotacaoSecao_BETA.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,35 @@
curl -i -g -X GET "http://cepesp.io/api/consulta/tse?ano=2010&cargo=3&agregacao_regional=1&agregacao_politica=2&selected_columns[]="SIGLA_PARTIDO"&selected_columns[]="NUM_TURNO"&selected_columns[]="NOME_MACRO"&selected_columns[]="DESCRICAO_CARGO"&selected_columns[]="QTDE_VOTOS""
```

## Cargo:

| Cargo(position) | Número |
| ------------------------- |:------:|
| Presidente | 1 |
| Governador | 3 |
| Senador | 5 |
| Deputado Federal | 6 |
| Deputado Estadual | 7 |
| Deputado Distrital | 8 |
| Prefeito | 11 |
| Vereador | 13 |

## Ano:

| Ano | Cargos Disponíveis (Descrição) | Cargos Disponíveis (Numero) |
| ------------------------- |:------|:-----:|
| 1998 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2000 | Prefeito, Vereador | 11, 13 |
| 2002 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2004 | Prefeito, Vereador | 11, 13 |
| 2006 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2008 | Prefeito, Vereador | 11, 13 |
| 2010 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2012 | Prefeito, Vereador | 11, 13 |
| 2014 | Presidente, Governador, Senador, Deputado Federal, Deputado Estadual, Deputado Distrital | 1,3,5,6,7,8 |
| 2016 | Prefeito, Vereador | 11, 13 |


## Colunas Disponíveis:

Cada tipo de agregação gera colunas diferentes. (Agregação Regional e Política se combinam gerando uma única tabela)
Expand Down

0 comments on commit d8ff307

Please sign in to comment.