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