The build scripts are using many command line tools.
-
curl
andwget
must be available from the command line. -
make
andbash
for the building. -
python 2
with typical data science libraries, if you want to redo the analysis. -
cvskit
in particularin2csv
is used for Excel to csv conversion. -
xmllint
make clean data
will fetch the voting patterns as .xls
files from the bundestag.de
page, convert them to the .cvs
format, and finally preprocesses/aggregates it into data/preprocessed/voting.csv
which can be used for analysis.
Once voting.csv
is present you can take a look at the notebooks, notebooks/Analysis.ipynb
should be the most interesting so far.
Here is the visualization of the voting patterns, each dot is a member of the parliament colored in its factions. There is a small transparency, so overlaps are shown, too. From the