Tag Archive:
Elections

District Builder: Open Source Web-based Redistricting Application

As a geospatial software development company, we’ve always had an interest in the geography of politics and the role technology plays in analyzing and disseminating political data.  Over the years we have partnered on software development and spatial analysis projects with several organizations dedicated to good government and data accessibility (including Committee of Seventy, Common Cause PA, and MAPLight.org).

A district boundary editing session in District Builder

We are pleased to announce that through a partnership with Dr. Michael P. McDonald, Associate Professor at George Mason University and Director of the U.S. Elections Project, and Dr. Micah Altman, Senior Research Scientist at Harvard University Institute for Quantitative Social Science, we have just wrapped up the first round of development on the beta version of District Builder, “an open source software redistricting application designed to give the public transparent, accessible, and easy-to-use on-line mapping tools” specifically aimed at examining state-level redistricting.  Supported by funding from the Alfred P. Sloan Foundation to George Mason University, the Brookings Institution and the American Enterprise Institute for Public Policy Research, the software is built using several open source technologies including, django, GeoServer, Celery, jQuery, PostgreSQL, and PostGIS.

In partnership with Dr. McDonald and Dr. Altman, Azavea will continue the development of additional features and improvements to the District Builder software.  Additionally, we are building our own version of the software for use in local municipal and county-level redistricting (look for the release of our local sample in the new year).

Watch a demo of the software on Vimeo

If you’d like to read more about some of our past software development and spatial analysis projects focused on redistricting, please visit:

‘Cicero Free’ Account: Match Constituents to Elected Officials. For Free!

cicero_smCicero, our legislative district matching and elected official lookup web service API now provides a truly valuable offer, especially for clients on a budget: a FREE subscription plan.  The Cicero Free account offers users up to 1,000 credits each month which can be used toward any coordinate-based legislative district matching, elected official data lookups and/or map web service requests.  Why use the Cicero Free account?  For instance, your organization might need to feed your website or online application with legislative data or match an online database of member addresses to their elected officials.  Now you can do it through the Cicero API free of charge, and carry out your political advocacy work stress-free.

The Cicero API currently provides legislative district matching and elected official data to public and private web applications for newspapers, election watchdog groups, philanthropic foundations, unions, arts organizations and commercial firms.  An example of an application powered by a Cicero Free account is ‘Our Philadelphia’, a new website built by Common Cause Pennsylvania. The site tracks campaigns contributions in Pennsylvania and will also soon focus on redistricting reform for Philadelphia and the state, tracking the influence of lobbyists, and promoting higher ethical standards for public officials.

Powered by CiceroSubscribers to the Cicero Free account are only required to post a ‘powered by Cicero’ logo on their public-facing website, and be able to make legislative district matching requests to the Cicero API by passing already geocoded address coordinate (latitude/longitude) points to the Cicero API.  Details about the Cicero Free plan are available here.

Stay tuned for more exciting Cicero developments….

Philly’s Election Results Searchable and Mappable through Kaleidocade: Over 4 Million Records

"...KIF would make it simple for elections commissions to share data with the public [and] ... could accommodate data for any locality, from any time period."

Over the past few years, Azavea has been involved with numerous elections-related projects, ranging from election-day incident reporting to consulting for candidates at every level of government. During the course of this work, we’ve occasionally needed to incorporate voter registration information or historical election results into our analysis. The public records request process can be arduous and cumbersome. And, all too often, even when a request is granted, we’ve found ourselves photocopying primary source records or holding a 100-page printout of the information we were seeking. Needless to say, we’ve been surprised that information so vital to the functioning of our democracy is rarely provided in a form that is easy for average citizens to access.

Map of the percent of the vote won by Barack Obama in the 2008 Presidential general election, by precinct

Recently, as we began to develop a sample application to demonstrate the ways the Kaleidocade Indicators Framework (KIF) can be used to visualize and interpret local datasets, we realized that we had the opportunity to illustrate how historical elections data can be made available to the public in a user-friendly web interface. To this end, we assembled the results of elections held in Philadelphia for all state and national offices from 1992 to 2008, along with the results of the 2007 elections for city offices — all told, more than 4 million records.

We’re excited to announce that the election results that we acquired are now available in the online KIF Local Sample at both the precinct and the ward levels. Users can generate a simple report based on an address or can assemble a fine-tuned collection of indicators by selecting particular candidates and geographies. Once an indicator collection is complete, KIF provides many options for interpreting the data. Visualizing election results on a map allows users to detect spatial patterns in candidate performance. Users can customize the data display by changing the class break schemes or color ramps, and by overlaying selected features and boundaries. The data can also be examined in a table (including trendlines of candidate performance over time), viewed as statistical summaries like distribution histograms, or compared through ranked lists of results.

Increasingly, from the federal to the local level, transparency and open government are becoming mandates. Our local sample serves as a prime example of how KIF would make it simple for elections commissions to share data with the public. Offering historical election data through a web application also has the advantage of making public records requests a self-serve process that can reduce the burden on elections commissions’ personnel. And while historical data is important, a tool like KIF can also be adapted to near real-time election results reporting. Rather than releasing text summaries of election results after the fact, city elections officials could enter precinct results into KIF as they are reported, making the web interface a valuable breaking-news and public information tool.

In the meantime, the KIF team plans to continue adding Philadelphia election results to the local sample, including the Philadelphia mayoral and city council races from 2003 and 2005. Check out this powerful local resource and spread the word! If you’re interested in politics and open government, you might also want to take a look at Cicero Live (described below) and the Elections and Advocacy sample application of DecisionTree, Azavea’s web-based geographic decision-making tools, with which you can simulate a canvassing or GOTV campaign.

The Geography of Democracy: Azavea Brings the Power of GIS to the Elections Arena

"Our mission is grand: Put the power of GIS and mapping into the hands of voters, grassroots campaign workers, and watchdog organizations. "

Map displaying ‘likely’ and ‘super’ voters by division.

Here at Azavea we’ve been talking about CNN’s Magic Wall, a tour de force in election information visualization. With nerdy glee, correspondent John King brings to viewers the spatial drama of the presidential race, sweeping his hands across the Magic Wall (an oversized monitor powered by dozens of live data feeds) to highlight swing states, break down demographic data, and tabulate possible combinations of electoral votes.

For the past few years, we’ve been hard at work developing our own election tools and services, albeit on a smaller scale and with a focus on state and local elections. But our mission is grand: put the power of GIS and mapping into the hands of voters, grassroots campaign workers, and watchdog organizations.


Map displaying dispersment of campaign contribution sources to a state legislator.

Cicero , Azavea’s legislative district boundary and elected official web API, is a field guide to the geography of democracy. Cicero connects citizens to their local, state, and national representatives by tapping into a massive database of voting district maps and information about politicians, legislative bodies, and election events. The Cicero database has launched dozens of projects designed to help voters understand our current political landscape, including a study of gerrymandering in the United States, an analysis of in-district vs. out-of-district campaign donations, an election day lookup tool that provides users with constantly updated vote tallys, and Comcast’s Your Local Politics website.

To help grassroots campaigns hit the ground running, we’ve developed tools to quickly generate hundreds of canvassing maps that pinpoint likely voters and supervoters in each precinct. We’ve used our DecisionTree web-based geographic planning and prioritization tool to build a prototype Elections and Advocacy application to enable campaigns to prioritize canvassing and get-out-the-vote (GOTV) efforts based on a selection of over 30 weighted electoral indicators including voting history, demographic data, and civic participation.


Map of election-day incidents that occurred in Philadelphia during the April 2008 primaries.

This November, we will continue to work with the Committee of Seventy, one of the oldest non-partisan political watchdog groups in the U.S., tracking election-day incidents – everything from voter intimidation to faulty equipment – at polling places throughout Philadelphia County. We launched this project last year during the mayoral race using PDF maps that were updated throughout the day. This year we built a real-time interactive web application that displays maps of election incidents as they are reported on screens at Committee of Seventy headquarters – our own version of a magic wall, if you will.

Online Real-Time Election Incident Mapping: When, Where, What, How … Instantaneously

"They hoped that a web-based mapping application would enable closer to real-time analysis and enable volunteers to access incident information from the field."

Committee of Seventy’s Election Oversight Program. This April, Pennsylvania’s unusually hotly-contested presidential primary provided a backdrop for a new and improved incident mapping project – this time moved from the desktop to the web.

With the expectation of higher-than-usual voter turnout and a large number of newly registered voters, Committee of Seventy and the Lawyers’ Committee for Civil Rights Under Law anticipated a busy day in their hotline command center. While the desktop-created maps Azavea prepared in November were very helpful, they had limited utility on the ground, as incidents were unfolding. They hoped that a web-based mapping application would enable closer to real-time analysis and enable volunteers to access incident information from the field.

With funding from the William Penn Foundation, the Committee of Seventy and Azavea were able to design and build a proof-of-concept application to address some of the basic needs of the Election Oversight Program. Using a mix of open source software tools including Google Maps, Open Layers, GeoServer and PostGIS (read the article on PostGIS below), we built an application that enabled rapid data entry as incident information was received and easy search by incident types. Without time to build the full functionality we’d eventually like to see in this application, we continued to use the ArcView-based system to create aggregated maps showing the number of incidents in each ward, State House, and State Senate District.

April 22nd was a busy day for volunteers and Azavea staff at the command center, with well over 400 incidents reported (more than three times the calls fielded during last November’s general election). Interspersed among calls to inquire about polling place locations were numerous complaints of missing registrations and registrations mysteriously showing a new party affiliation, people unable to vote because someone else had already voted in their name, and a few voters who felt intimidated by poll workers or campaign volunteers. With the website projected on the command center wall, each new incident added a little color and another interesting bit of information illustrating Philadelphia’s primary election.

Cicero: Release of 30-day Free Trial and Canada Legislative Data

"If you're not convinced... [try] a Cicero API 30-day free trial..."

Quick show of hands: how many of you know for certain which state senate district you live in? The identity of your state representative? The geographic boundaries of your elected officials’ districts or the last time they were redrawn?

For many organizations, this type of information is both invaluable and difficult to get with any degree of reliability. Knowing the geographic boundaries of the districts in which their members live can help to encourage them to express their opinions to the elected officials who represent them. Further, knowing the exact geographic boundaries of their members’ districts can help organizations more directly in their own advocacy roles. Imagine you work for a local non-profit and are scheduled to meet with a group of state representatives from your area. How would you like to be able to tell each of them just how many of the citizens they represent are supporters of your organization? How would you like to be able to tell those members that you spoke directly with their representative?

Cicero is designed to help. It is a web API (Application Programming Interface) that enables users to add legislator and legislative geography lookup capabilities -matching any address with their designated legislative districts and elected officials, including their geographic boundaries- to any website or software application. It is a cost-effective and precise way for organizations to receive legislative information, including contact information for their local (check our list of available local cities), state and federal level representatives, district maps, and school district identification.

If you’re not convinced … We just released a Cicero API 30-day free trial, now giving developers the opportunity to ‘test drive’ the API with their company or organization’s website or software – for free! Each 30-day free trial includes access to one region of your choice and up to 250 web service hits. Visitors to the Cicero site can also experience Cicero first-hand by visiting Cicero Live to get the information about elected officials who represent any address in the U.S.

In October we announced the release of several new, comprehensive sets of data including city council districts for more than 60 cities, and district lookup and legislator contact data for all U.S. state and federal legislative districts. We are thrilled to announce the addition of legislative and legislative geographic boundaries lookups for local, provincial and federal level data for the majority of the lower provinces in Canada (available soon on Cicero Live) – go Canucks!

Coming soon: Australia, New Zealand and France. Visit the Cicero website for more information, as well as an updated list of available data.

Election Day Incident Mapping with Committee of Seventy: From the Innocuous to the Bizarre …

"... these reports and their accompanying maps help to paint a picture of just what occurs on Election Day, and exactly what issues and geographic locations need the most attention from voting officials."

Imagine. You are about to vote, someone approaches you and gives you a piece of their mind about whom they think you should vote for. Or, even more sordid…. some thugs walk up to you and “encourage” you to depart your polling station. Believe it or not, incidents like these do happen. That is why for several decades, Committee of Seventy, a Philadelphia-based, non-partisan elections watchdog group has focused on monitoring Election Day activities in Philadelphia to ensure that all citizens are able to exercise their right to vote.

On Election Day, Committee of Seventy works with the Lawyers’ Committee for Civil Rights Under Law to coordinate the Election Oversight Program, whereby election irregularities are monitored and registered through the combined efforts of volunteers and staff at a command center in parallel with teams of lawyers and volunteers deployed throughout the city. In the command center, team leaders field calls from voters, polling officials, as well as volunteers reporting election irregularities, then immediately coordinate with their teams at these locations to respond accordingly. During Philadelphia’s 2007 general election on November 6, Committee of Seventy turned to Azavea to help geographically record, map, and geo-analyze these incidents.



Maps showing concentration of election day incidents by ward.

The primary challenge of incorporating GIS into this endeavor was to create a system that would enable both quick recording of incidents and rapid map generation throughout the day. The catch was that a variety of maps was needed, including not just point maps showing individual incidents, but also aggregations by larger political boundaries indicating both relative numbers of incidents and proportions of different types of incidents.

Using ArcView 9.2, and taking advantage of ModelBuilder technology, Azavea volunteered to create a series of models that automatically performed the aggregations, some requiring as many as 35 tasks. These models were designed to take the incident point data and create choropleth maps at the ward, council district, and division levels with each map showing the aggregated number of incidents in each area, color-coded by types of incidents.

The incident maps proved helpful in several aspects of the Election Oversight Program. Committee of Seventy was able to identify problem trends citywide, ward-wide or district-wide and quickly respond to them. The information was compiled and continously analyzed so that they could stay on top of what was going on throughout Election Day.
With few hotly contested races in this election, Committee of Seventy wasn’t expecting a large number of incidents, but despite the relatively low turnout of an off-year election, 139 incidents were reported. Incidents ranged from the expected and relatively innocuous, such as voters unsure of where their polling places were, to troubling and bizarre, such as questionable behaviors by polling officials, rumors of thugs hired to intimidate voters and, the strangest of all: a local committeeman sitting in a van passing out alcohol and suspected by some to have a gun.

Though the mere report of an incident is no guarantee that it actually happened, or that it happened in quite the way described by the caller, these reports and their accompanying maps help to paint a picture of just what occurs on Election Day, and exactly what issues and geographic locations need the most attention from voting officials.

Jonathan David, Committee of Seventy’s Election Program Coordinator, noted that the maps were particularly important to “management staff and senior-level volunteers who needed to understand problematic trends – as they developed – so teams could respond quickly.” This trial run has been a success, leading Committee of Seventy and Azavea to use this experience to plan a more automated, web-based application that they hope to deploy for the 2008 presidential primaries and elections.

To read Committee of Seventy’s post election reports (including the election incident maps Azavea created) visit http://www.seventy.org/hot-topics/-2007-election-information/november-2007-post-election-report/.

Cicero: Tons of New Data Available

"Information is the currency of democracy." - Thomas Jefferson

“Information is the currency of democracy. –Thomas Jefferson

Our democratic institutions rely on citizens, businesses, and other organizations that are willing to communicate needs and opinions to their elected officials. But do you know who all of your legislators are or how to reach them? I don’t either. Cicero is designed to help. It is a Web API (application programming interface) that enables you to add legislator lookup capabilities to any web site or software application. It is a cost-effective and precise way to deliver this information, including maps showing the district boundaries. In a nutshell, it is a web-based, easily integratable elected official lookup for local, state, and national information. It simply matches addresses with the elected officials who represent these addresses.

We built Cicero in early 2006 to support local arts advocacy in Pennsylvania. By fall of that year, we offered a national service covering 40 cities. We are thrilled to announce the recent release of several new, comprehensive sets of data: In addition to city council districts for more than 60 cities we now offer district lookup and legislator contact data (district number, address(es), phone number(s), email, party, etc.) for all U.S. state and federal legislative districts. We continue to update Cicero as elections take place, legislators are replaced and regions go through the process of redistricting. You can try Cicero here.

We created Cicero with the intention of giving advocacy groups, non-profits, foundations and politically active individuals access to accurate local, state, and national elected official contact information, quickly and all in one central location vs. through multiple online resources. Organizations can subscribe to a web-service API that seamlessly interfaces with their constituents’ databases for them to provide their own stakeholders with a customizable array of contact information for key political decision-makers across the United States. This information is used to empower citizens to engage with their elected officials and thereby influence the outcome of decisions. Cicero can provide you with the local legislator data that you need to affect policy. And it now has state, national, and school districts information on top of that!

Visit the Cicero website for more information, as well as updated lists of available data.

U.S. school district lookup as well as Canada and Australia legislative districts, coming soon!