JavaScript Ruby Other
Latest commit 9c8bc1e May 25, 2011 @xavijam xavijam donee
Failed to load latest commit information.
fonts
images
javascripts
js_scripts
lib
scripts
stylesheets
.gitignore
.rvmrc
LICENCE
README.md
ie6.html
index.html
proxy.php
run_all.sh
world.html

README.md

RTVE Elections

Live app: http://datos.rtve.es/elecciones/autonomicas-municipales/elections.html

This repository contains basic scripts to generate all the datasources behind the RTVE data visualisation of the local and regional elections of Spain 2011.

These datasources all drive the visualisation that can be initialised by running elections.html

Please note that these scripts are unlikely to run without modification for your environment, please ensure all code is read and updated before attempting to use. Please see LICENCE file for full terms of use.

Data generation detail

To generate all data run the following from the scripts directory:

  • ./run_graphs.sh
  • ruby bubbles.rb 6 7 11
  • ruby googlenamescache_generator.rb
  • ./run_maps.sh