Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
add a couple of html tables to viz
Browse files Browse the repository at this point in the history
  • Loading branch information
cv committed Feb 15, 2013
1 parent 27ef0b8 commit 86c2752
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spikes/votes-viz/views/index.slim
Expand Up @@ -33,6 +33,8 @@ html
body
h1 Votações da Câmara de Vereadores de Porto Alegre

h2 Atividade das sessões

script src='http://d3js.org/d3.v3.min.js'
javascript:
var width = 960,
Expand Down Expand Up @@ -110,3 +112,11 @@ html
}
d3.select(self.frameElement).style("height", "2910px");
h2 Parlamentares mais ativos

iframe frameborder='0' style='overflow: hidden; width: 100%; height: 100%;' width='100%' height='100%' src="https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=htmltable&name=votacoes&attach=vereadores_camarapoa_1&query=select%20parlamentar%20as%20Parlamentar%2C%20count(voto)%20as%20Votos%20from%20%60presencas%60where%20voto%20!%3D%20'Ausente'%20and%20parlamentar%20in%20(select%20nome%20from%20%60vereadores%60)%20group%20by%20parlamentar%20order%20by%20Votos%20desc"

h2 Parlamentares mais ausentes

iframe frameborder='0' style='overflow: hidden; width: 100%; height: 100%;' width='100%' height='100%' src="https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=htmltable&name=votacoes&attach=vereadores_camarapoa_1&query=select%20parlamentar%20as%20Parlamentar%2C%20count(voto)%20as%20Votos%20from%20%60presencas%60where%20voto%20%3D%20'Ausente'%20and%20parlamentar%20in%20(select%20nome%20from%20%60vereadores%60)%20group%20by%20parlamentar%20order%20by%20Votos%20desc"

0 comments on commit 86c2752

Please sign in to comment.