Giter Site home page Giter Site logo

master_thesis's Introduction

Replication Material Master Thesis "The Great Poll Closure - How neighborhood composition is related to polling place changes"

Script and data sets to replicate the Master Thesis "The Great Poll Closure - How neighborhood composition is related to polling place changes". The thesis itself can be found here

Caveats

⚠️ In order to replicate the geocoding carried out here you need to supply your own Google Maps API key in line 14 of the script. You can get your key here ⚠️

⚠️ You also have to download the repo of the Center for Public Integrity which provide the original raw data. Data was last acessed November 2021, structure of database changed in the meantime! ⚠️

⚠️ I do not supply all shapefiles used to match coordinates of polling places with county polygons. This is due to the limited capacity of GitHub repos. Shapefiles used in this analysis can be accessed here andhere Caution: Both files for 2012 and 2016 are > 150MB ⚠️

⚠️ It is not possible to supply the full dataset of geocoded polling places due to the size limit of GitHub repos. To get access to the full data please contact: Philipp Bosch ⚠️

Replicate main analysis

✅ To replicate the substantial analysis I supply the reduced dataset aggregated on county level for the 2012 and 2016 elections ✅

In order to replicate the analysis please first run the package script and afterwards the modelling script. The easiest way is to clone this repo and just use the supplied R-project file.

Generated Stan Code for both models is supplied here.

master_thesis's People

Contributors

philbosch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.