{"id":20234816,"url":"https://github.com/datamade/look-at-cook","last_synced_at":"2025-04-10T18:51:03.924Z","repository":{"id":146796177,"uuid":"2582943","full_name":"datamade/look-at-cook","owner":"datamade","description":"Explore Cook County's budget from 1993 to 2017 and learn how the money is being spent.","archived":false,"fork":false,"pushed_at":"2023-06-06T20:40:23.000Z","size":3356,"stargazers_count":36,"open_issues_count":1,"forks_count":36,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T16:37:28.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://lookatcook.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datamade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2011-10-15T18:36:54.000Z","updated_at":"2024-10-07T12:55:29.000Z","dependencies_parsed_at":"2023-03-26T00:02:27.133Z","dependency_job_id":"c5812790-969f-4f97-8b2d-95e7d99bfada","html_url":"https://github.com/datamade/look-at-cook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Flook-at-cook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Flook-at-cook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Flook-at-cook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datamade%2Flook-at-cook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datamade","download_url":"https://codeload.github.com/datamade/look-at-cook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248273895,"owners_count":21076254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T08:13:09.713Z","updated_at":"2025-04-10T18:51:03.905Z","avatar_url":"https://github.com/datamade.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Look at Cook](http://lookatcook.org)\n=====================================\n\nA 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.\n\n![Look at Cook screenshot](https://raw.githubusercontent.com/datamade/look-at-cook/master/images/look-at-cook-screenshot.jpg) \n\n## Press\n\n- [O'reilly Radar](http://radar.oreilly.com/2011/09/look-at-cook-gov-data-visualization.html)\n- [govfresh](http://govfresh.com/2011/09/beautiful-budgets-look-at-cook/)\n- [Civic Commons](http://civiccommons.org/2011/11/look-at-cook-open-sourced/)\n- [Metafilter Projects](http://projects.metafilter.com/3241/Look-at-Cook-A-Budget-Visualization-for-Cook-County-IL)\n\n\n#### Dependencies\n\n- [jQuery](http://jquery.com)\n- [D3](http://d3js.org) (for CSV manipulation)\n- [Backbone](http://backbonejs.org/) (javascript MVC framework)\n- [Highcharts](http://www.highcharts.com/) (charting library)\n- [Datatables](http://datatables.net) (sortable HTML tables)\n\n## How to Re-Deploy\nThis code can be customized to visualize another data set.\n####Data Prepatation\nThe 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.\n\nSee examples of prepped data:\n  - [New Orleans](https://docs.google.com/spreadsheet/ccc?key=0AswuyKhD7LxVdGlERGdEckpaRDc4Q1RCN0tjZ2tMMGc\u0026usp=sharing_eil#gid=0)\n  - [Macoupin County](https://github.com/datamade/macoupin-budget/blob/master/data/macoupin-budget_1997-2014.csv)\n  - [A blank template to populate](https://docs.google.com/spreadsheets/d/1I6xZe8syHTiLguZ56l6J1KW0nAJVrUilvq0eP-BpE2A/edit?usp=sharing)\n\n####Configuration\n1. Once the data is prepared, set dataSource in js/app.js to link up to your data.\n  \n  *If your budget data is in CSV form:*\n  Drop the csv file in the data folder, and set dataSource to the file path.\n  \n  *If your data is in a google doc:*\n  You will first need to publish the google doc to the web as a CSV. Then, set dataSource to the URL provided.\n  \n  ![alt-tag](https://cloud.githubusercontent.com/assets/1406537/3767681/94b15ba4-18cf-11e4-96b1-a2dca1f39c73.png) \n  ![alt-tag](https://cloud.githubusercontent.com/assets/1406537/3767658/55df1880-18cf-11e4-9593-51bc89b0744a.png)\n  \n2. Next, set the following configuration variables at the top of js/app.js:\n  - startYear\n  - endYear\n  - activeYear\n  - municipalityName\n\n## Errors / bugs\n\nIf something is not behaving intuitively, it is a bug, and should be [reported as an issue](https://github.com/datamade/look-at-cook/issues)\n\nYou can also email info@datamade.us.\n\n## Note on patches/pull requests\n\n* Fork the project.\n* Make your feature addition or bug fix.\n* Commit and send me a pull request. Bonus points for topic branches.\n\n\nCopyright\n---------\n\nCopyright © 2019 DataMade (datamade.us), Derek Eder, Nick Rougeux and Open City. Released under the MIT License.\n\nSee LICENSE for details https://raw.githubusercontent.com/datamade/look-at-cook/master/LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamade%2Flook-at-cook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatamade%2Flook-at-cook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatamade%2Flook-at-cook/lists"}