If you're like me you want to download all of the Chicago Mayor election results in this April runoff by precinct and you don't want to have to load each ward's page and then copy and paste that into a spreadsheet. Paul Smith was kind enough to share a Python script to download the results but I was unfortunately unable to get his Python script to work so I wrote one in php and got that to work.
Click on the link above to download the April Runoff Election Results by precinct. This will probably take 60 - 120 seconds to run before it lets you save the file. This script will check the CBOE website and then it will write the data to a CSV file that you should be able to download and open in Excel and it will have the Mayor's race election results by precinct. If the CBOE updates their vote totals with either 1) updated precinct totals or 2) updated VBM totals (or both) just click on the link above again and it will pull the latest data.
If something isn't working right let me know. Thanks.
|▪||ANNOUNCEMENT: New Subscription Service and Free iPhone/iPad app|
|▪||2018 Cycle District Rankings|
|▪||Understanding the Governor's Race (General Election) - Governor Rauner's 2014 Fundraising|
|▪||Understanding the Governor's Race (Dem Primary) - The 2004 Primary for US Senate|
|▪||Understanding the Governor's Race (Dem Primary) - The Burris Coalition|