Skip to content

leetschau/ch1-statistics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Example code for chapter one, Clojure for Data Science.

Data

The data for this chapter has been sourced by the Complex Systems Research Group at the Medical University of Vienna. The analysis we've performed mirrors the research they have undertaken to determine the signals of systematic election fraud, including ballot stuffing. For more information on their research and the methods they employed looking at election data visit their website at http://www.complex-systems.meduniwien.ac.at/elections/election.html or download the paper by Peter Klimeka, Yuri Yegorovb, Rudolf Hanela, and Stefan Thurnerat here: http://www.pnas.org/content/early/2012/09/20/1210722109.full.pdf.

Instructions

*nix and OS X

Run the following command-line script to get and unpack the data:

# Downloads and unzips the data files into this project's /data directory.
    
script/download-data.sh

Windows / manual instructions

  1. Download the data files linked above into this project's data directory
  2. Unzip the Russia2011.zip file
  3. Move Russia2011_1of2.xls and Russia2011_2of2.xls next to UK2010.xls in data directory

Running examples

Examples can be run with:

# Replace 1.1 with the example you want to run:

lein run -e 1.1

or open an interactive REPL with:

lein repl

License

Copyright © 2015 Henry Garner

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Chapter 1 of Henry Garner "Clojure for Data Science"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 93.0%
  • Shell 7.0%