Git Product home page Git Product logo

philly-open-health's Introduction

Mission Statement

Philly Open Health increases access to and availability of public health data for Philadelphia and surrounding counties. There is a huge amount of publicly-available population health data available for the greater Philadelphia area, but it isn't technically "open data". While some of the data on Philly Open Health will be open (machine-readable) data, such as population demographics, other data will be sourced from PDFs, siloed databases, and filtered federal data sets. The combination of data sources and types will provide a more comprehensive look at population health in the greater Philly area, even though open data in the public health arena is limited.

The jumping-off point for Philly Open Health is the [Office of HIV Planning (OHP)] (http://www.hivphilly.org/)'s annual epidemiologic profile (or "epi" profile), which covers Philadelphia and eight surrounding counties in two states. This document includes over 200 tables and 100 figures on everything from race/ethnicity to drug use to poverty to HIV/AIDS. This document has always been designed for print, which means that limited data are included for presentation. OHP would like to provide the public with the data used in developing the epi profile in one centralized location.

Getting Started with Development!

Please take a look at the requirements_notes.md in this directory for an overview of our 1.0-release feature goals.

You can view the first batch of files on Dropbox here. Metadata for these files is being compiled in a Google Sheet here.

We're also doing some lightweight project management over at Trello to keep track of what tasks are underway and who's working on them.

Actually running the code!

Start by copying the config/database.example.yml file over to config/database.yml.

Next, if you're on a Mac, make sure you have a Postgres server running locally (dowloading the app is probably your best bet).

Then create a user. In the terminal type:

rake db:migrate

rails c
u = User.new(email: "[email protected]")
u.password = "yourpassword"
u.password_confirmation = "yourpassword"
u.save

Then seed the database, and start the server:

rake db:seed
rails s

The output will tell you where to point your browser. Usually this is "http://localhost:3000/"

If you get the following error

ActiveRecord::NoDatabaseError: FATAL:  database "philly-open-health_development" does not exist

Make sure to create the database first. Run

bin/rake db:create db:migrate

to create the database.

Annotating models

To annotate the models, run

bundle exec annotate --exclude tests,fixtures,factories,serializers

Running tests

To run tests with Spring preloading, use bin/rspec.

philly-open-health's People

Contributors

titlecharacter avatar torresga avatar thedeeno avatar brianalmorgan avatar dhaneshnm avatar mooreryan avatar jff006 avatar yyypp avatar chadoh avatar elowing avatar cfarm avatar jennvoss avatar

Watchers

James Cloos 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.