GithubHelp home page GithubHelp logo

datamade / look-at-cook Goto Github PK

View Code? Open in Web Editor NEW
36.0 7.0 36.0 3.28 MB

Explore Cook County's budget from 1993 to 2017 and learn how the money is being spent.

Home Page: http://lookatcook.org

License: Other

JavaScript 64.92% HTML 29.10% CSS 5.10% Python 0.89%

look-at-cook's Introduction

A budget transparency visualization for Cook County, IL (Chicago's county) displaying all county departments broken down by fund and control officer from 1993 to 2017. Originally done as a collaboration with Cook County Commissioner John Fritchey.

Look at Cook screenshot

Press

Dependencies

How to Re-Deploy

This code can be customized to visualize another data set. ####Data Prepatation The budget data can be in various forms (csv, google doc, google fusion table), but must adhere to a fixed format in order for the app to process it properly. Budget column headers include: Fund ID, Fund, Results Area, Department ID, Department, Short Title, Link to Website, Department Description, and Control Officer. Values for appropriations and expenditures must be broken down into a separate column for each year.

See examples of prepped data:

####Configuration

  1. Once the data is prepared, set dataSource in js/app.js to link up to your data.

If your budget data is in CSV form: Drop the csv file in the data folder, and set dataSource to the file path.

If your data is in a google doc: You will first need to publish the google doc to the web as a CSV. Then, set dataSource to the URL provided.

alt-tag alt-tag

  1. Next, set the following configuration variables at the top of js/app.js:
  • startYear
  • endYear
  • activeYear
  • municipalityName

Errors / bugs

If something is not behaving intuitively, it is a bug, and should be reported as an issue

You can also email [email protected].

Note on patches/pull requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit and send me a pull request. Bonus points for topic branches.

Copyright

Copyright © 2019 DataMade (datamade.us), Derek Eder, Nick Rougeux and Open City. Released under the MIT License.

See LICENSE for details https://raw.githubusercontent.com/datamade/look-at-cook/master/LICENSE.md

look-at-cook's People

Contributors

derekeder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

look-at-cook's Issues

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.