Giter Site home page Giter Site logo

chicago-municipal-elections's Introduction

Chicago Municipal Elections: 1983, 2007-2023

This is a repository of elections results and precinct geographies for Chicago municipal elections. You can get all the files here by downloading this zip file.

Election results

The elections results are in the /data directory. They come in two formats: spreadsheets and geojson files.

The spreadsheets have a .csv file extension. You should be able to open these files in Excel or other spreadsheet program. Each rows contains the ballots and votes cast in an election in an election precinct.

The geojson files have a .geojson file extension. You can open these files in GIS software like QGIS. It has all the ballot and vote data for ever precinct but also the geographic data about the precinct. These files are good for making maps.

Attributions

The 1983 data is from the Chicago Elections Project and is licensed CC BY 3.0 US.

chicago-municipal-elections's People

Contributors

abigailblachman avatar fgregg avatar pjsier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

chicago-municipal-elections's Issues

Pull data from http://cdp.northwestern.edu

curl 'http://cdp.northwestern.edu/database/graphql' -H 'Host: cdp.northwestern.edu' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: http://cdp.northwestern.edu/database/race/2015-02-15+10017/maps/precinct' -H 'content-type: application/json' -H 'origin: http://cdp.northwestern.edu' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' --data '{"query":"query RaceMap($raceID: ID!, $year: Int!, $level: LEVEL!) {\n  raceMapColors(id: $raceID, level: $level)\n  geojson(year: $year, level: $level)\n}\n","variables":{"raceID":"2015-02-15+10017","year":2015,"level":"PRECINCT"},"operationName":"RaceMap"}'

It's a graphql endpoint. This looks relevant: http://requester.org/#graphql

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.