Name: wigab
Owner: The OpenElections Project
Description: Python library to parse election results from Wisconsin's Government Accountability Board
Created: 2015-11-12 01:54:14.0
Updated: 2016-03-06 23:45:09.0
Pushed: 2015-11-12 01:59:53.0
Homepage: null
Size: 0
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Wigab is a Python library from parsing the Excel spreadsheets containing election results produced by Wisconsin's Government Accountability Board. It currently returns a list of lists, with each element containing data that corresponds to one candidate result within a single jurisdiction (county or ward).
Wigab should be installed by cloning this repository.
In a Python shell, import the process_all
function and supply it with a URL to an Excel file from the GAB site, along with a local file name:
from parser import process_all
results = process_all("http://www.gab.wi.gov/sites/default/files/11.4.2014%20Election%20Results%20-%20all%20offices%20w%20x%20w%20report.xlsx", "2014_general_ward_results.xlsx")
Wigab is released under the MIT License.