Data4Democracy / usa-dashboard

A dashboard of key metrics for the USA
69 stars 27 forks source link

Detroit Crime Data #62

Closed jtzupan closed 7 years ago

jtzupan commented 7 years ago

Python scraper used to pull Detroit crime data via the Socrata API. Two pieces of code, the first pulls all crime in Detroit since 2009 and puts each year into its own csv file. The second allows for optional command line arguments where you can specify a limit, zip code, and/or year.

The data folder is currently empty. I can add the Detroit Crime csv files if we want them in the repo as well.