OpenHealth, a web computing sandbox to explore public health data.
Live tool at https://mathbiol.github.io/openHealth.
To incorporate openHealth into your tool/analysis, all you need is
<script src="https://mathbiol.github.io/openHealth/openHealth.js"></script>
or, if you have jQuery,
$.getScript("https://mathbiol.github.io/openHealth/openHealth.js")
OpenHealth is a stand alone JavaScript library to help interoperating with public data sources of Health data. It creates a single object, openHealth in the DOM namespace following the same "namespace pollution" approach common in analytical environments such as Matlab and R.
Full documentation in the wiki
A substancial number of Open Health Data resources are delivered through Socrata Open Data API webs services (SODA).
- openHealth.soda("URL or URL reference",fun)
// deliver that data to the console
openHealth.soda("NY Medicare Inpatient")
// deliver that data to a global variable NYmed
openHealth.soda("NY Medicare Inpatient",function(x){NYmed=x;console.log("done")})
// same data, using the URL directly
openHealth.soda("http://health.data.ny.gov/resource/2yck-xisk.json")
// for list of URL references for SODA data see
openHealth.sodaData