Skip to content

graphicsdesk/hospital-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How does access to hospitals differ across neighborhoods with different income levels?

Data

Spectator compiled data on open emergency hospitals and bed counts in New York City neighborhoods using the NY State Department of Health database and emergency hospitals that have closed since 2000 using NYC Open Data.

Neighborhood zipcodes were queried for and hospital addresses geocoded using Google's Places API. The script can be found here and is applied to our public dataset which can be found here.

Setup

  1. Make sure you have Python 3 installed.

  2. We are going to use pipenv to manage the packages we use. Install it by running this command in the terminal (you may have to first install brew):

brew install pipenv

First Steps

  1. Copy this repository onto your machine. To do this, run this command in the terminal:
git clone git@github.com:graphicsdesk/hospital-data.git
  1. Navigate to the newly created hospital-data folder by running:
cd hospital-data
  1. Now run pipenv install to install all the packages listed in the Pipfile. (The Pipfile is a file in this repository that lists all the packages we need so pipenv knows which ones to get.)

  2. Run pipenv shell to be able to access the newly installed packages.

  3. We will be using Jupyter Notebooks to do this analysis. Please watch this short introduction on Jupyter.

  4. Run jupyter notebook to start the notebook. Go into the notebooks directory, then open the fetcher.ipynb notebook.

  5. You're ready to do data reporting!

About

Emergency hospitals in low-income neighborhoods.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors