Giter VIP home page Giter VIP logo

chicago-atlas's Introduction

Chicago Health Atlas

The Chicago Health Atlas is a place where you can view citywide information about health trends and take action near you to improve your own health.

Installation

Install the Heroku Toolbelt - required for deployment and importing Purple Binder data

git clone [email protected]:smartchicago/chicago-atlas.git
cd chicago-atlas
gem install bundler
bundle install
cp config/database.yml.example config/database.yml
rake db:setup

Download and import data

The Chicago Health Atlas uses data from the Chicago Data Portal, the US Census, CHITREC, the Chicago Tribune Boundary Service, Purple Binder, and several other sources. Chicago and Purple Binder data are downloaded directly from APIs, while others are loaded directly from saved copies in the import directory of this repository.

All geographies, statistics and resources

rake db:import:all

Just statistics

rake db:import:stats

Individual datasets

rake db:import:geography:community_areas
rake db:import:geography:zip_codes
rake db:import:census:population
rake db:import:chicago:crime
rake db:import:chicago:dph
rake db:import:chitrec:all
rake db:import:purple_binder:all

Refreshing saved copies

Chicago community areas

rake db:import:geography:community_areas_download

Purple Binder To import the Purple Binder data, you will need an API key from their developers page.

curl http://app.purplebinder.com/api/programs   -H 'Authorization: Token token="{purple_binder_token}"' > db/import/pb_programs.json

Running locally

bundle exec unicorn

navigate to http://localhost:8080/

Dependencies

  • Rails 3.2.17
  • Ruby 1.9.3-p194
  • Haml
  • Heroku
  • Twitter Bootstrap
  • Leaflet

Team

  • Dan O'Neil: runs the project for the Smart Chicago Collaborative
  • Chicago Department of Public Health: many stakeholders publishing and interpreting data
  • Purple Binder: provider of all location data for health resources.
  • Derek Eder: lead developer; owner of Data Made, which is a contractor for the Smart Chicago Collaborative

Errors / Bugs

If something is not behaving intuitively, it is a bug, and should be reported. Report it here: https://github.com/smartchicago/chicago-atlas/issues

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Commit, do not mess with rakefile, version, or history.
  • Send me a pull request. Bonus points for topic branches.

Copyright

Copyright (c) 2013 DataMade. Released under the MIT License.

chicago-atlas's People

Contributors

aaronsalmon avatar cathydeng avatar danxoneil avatar derekeder avatar mapmeld avatar srobbin avatar theandrewbriggs avatar

Watchers

 avatar  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.