Tag Archives: Cicero

Recorded Webinar: How to Conquer Post-Election Data Chaos with the Cicero API

On Friday, December 14, we hosted “How to Conquer your Post-Election Data Chaos with Cicero,”  a webinar that examined five “data chaos factors” that nonprofits and political advocacy groups are facing in these intermediate few weeks both after the 2012 elections in the US and before the newly-elected officials and new legislative sessions start in January of next year. With Azavea’s political background, and as we were updating the database behind Cicero with the more than 8,000 official records that changed on November 6th, we noticed accelerating trends and saw common pain points many nonprofits are facing just after an election in a redistricting year like 2012. The Cicero API and other techniques and technologies we know like spatial analysis, event registration, and social media can be powerful when applied to nonprofit advocacy work during this chaotic time.

A recording of the webinar is available below. I’ve also posted the recording on YouTube and made the slides available via SlideShare. If you have any questions about the webinar or Cicero, please feel free to email me at athompson@azavea.com.

We’re hoping to hold more webinars and screencasts on Cicero and our other political advocacy services like spatial analysis in 2013! Let me know if you have an advocacy technology issue you think would make a good webinar, or if you’ve tried to use Cicero in the past and would like some screencasts or other tutorials about how to do things with the API. As Azavea’s Community Evangelist, I try hard to be a helpful resource and advocate for any users of the API and always love to hear about websites or apps you’ve built with Cicero or ideas you have. Please, shoot me an email or send me a tweet at @andrewbt!

Upcoming Webinar: How to Conquer Your Post-Election Data Chaos with the Cicero API

On December 14th at 1:30pm EDT, we’ll be hosting a webinar about how advocacy organizations can use the Cicero API to conquer many of their post-election data woes. From a data perspective, the most recent US elections on November 6th make for a particularly chaotic situation because not only have hundreds of elected officials and their contact information changed, but this is also the first major election using most of the brand new legislative districts that were created in the most recent round of redistricting in 2010 and 2011. Both of these factors pose a clear challenge to advocacy groups as they seek to update their databases and build new relationships among their constituents, supporters, and the new and old elected officials.

In this webinar, you’ll learn how Azavea’s Cicero API and batch geocoding services can help almost every nonprofit solve 5 advocacy challenges after this past election. You will learn how you can use the Cicero API to:

• Augment your Internet advocacy efforts by using legislators’ social media information when their emails are not made public
• Make your in-person advocacy events, such as “lobby days”, more effective while reducing logistical headaches
• Accurately match your constituents with the correct elected officials after this last round of redistricted legislatures and regular elected official turnover
• Proactively inform constituents of elected official changes – not only at the federal level, but in hundreds of state and local level governments
• Highlight your particular organization’s mission or cause and make it relevant so that citizens are motivated to become your supporters, your donors, and your volunteers

Register at http://bit.ly/electiondatachaos

We hope you’ll be able to join us! Please contact me at athompson@azavea.com if you have any questions. If you can’t attend, I’ll be recording the webinar and would be happy to send you a link – I’ll also post a video on this blog afterward.

Hacks for Democracy Wrap-up and Reflections

(A Storify of the #hacks4d hashtag is available here: http://storify.com/azavea/hacks-for-democracy-round-2)

Hacks for Democracy was the first hackathon that Azavea has organized, and we felt it was a smashing success. For that, we owe a huge debt of gratitude to the participants and the sponsors.  We took a gamble on organizing Hacks for Democracy as a three week long “hackmonth” rather than a typical weekend hackathon. As far as we know, Hacks4D is one of the first civic hacking efforts to combine so many events for such a long time period: a pre-hackathon brainstorming session, a weekend hackathon, and three weeks of follow-up events and a second round of judging and prizes. At the outset, nothing was guaranteed. Maybe nobody would show up to the follow-up hacknights, we thought. It was possible we’d be left with boxes and boxes of leftover pizza and beer. Maybe hackathons and the apps created from them really are just fun weekend projects, and people wouldn’t have the time to stick together in teams and continue improving on them once their real lives came back into their schedules. But we wanted to try something different because historically, civic hackathons have too often had a sustainability problem - while great for prototypes, there’s not enough time in a weekend to build, test, and deploy a high-quality piece of civic software. Excitement dwindles after the weekend, and the community that came together disperses again. While there have been exceptions — locally, Sheltr, Cost of Freedom and Councilmatic are all examples of successful follow-through — for the most part, the critics are right, and we wanted to try to improve on this.

We were wrong to worry that no one would show up (but more on that in “Reflections” below). Newbies and veterans in the Philadelphia civic hacking community came to every single one of our follow-up events (and ate almost all of our pizza). The applications were greatly improved upon since their initial stages at the end of the first weekend. My team, State-Gov-Tracker, even added a new team member in the followup weeks. For those who like numbers:

  • 50 attendees at our first Friday night brainstorming and presentation event
  • 30+ attendees over the Saturday and Sunday hackathon
  • 10-15 attendees at every followup Monday hacknight
  • 25+ attendees at the final Friday awards ceremony
  • 6 teams/apps total
  • 4 teams/apps improved and carried through all events
  • at least 1 new team member added after the first hackathon weekend

 

The Final Four

The final judging event on October 5 featured four teams who returned with significantly improved apps.

The Undecideds demoing Philly Voter Turnout Model

The Undecideds demoing Philly Voter Turnout Model

The first team to demo was “The Undecideds,” composed of Azavea developers Adam Hinz and Bennet Huber. At the end of the first weekend, Hinz and Huber had a working heatmap of 800,000 Philadelphia voter registrations using the open-source GeoTrellis. Over the followup weeks, the duo worked with City Commissioner Stephanie Singer to geocode 40 million addresses from Philadelphia County voter registrations from historical elections. That’s nearly 39 CDs worth of data – data that previously only existed on physical media at the Commissioner’s office before their project. Undecideds also added an improved user interface to change parameters for very specific geographic areas of Philadelphia and model possible election outcomes. This comprehensive use of geospatial data and analysis was enough for the judges to award the team the Esri-sponsored “Best Geospatial App” prize.

The State-gov-tracker team demoing their PA Statehouse dashboard app

The State-gov-tracker team demoing their PA Statehouse dashboard app

Next came a large (9 hackers!) team, State-Gov-Tracker.  This was the team I worked with (that’s me in the red shirt above). Chris Brown, Chris Nies, Jason Blanchard, Josh Borkowski, Lauren Gilchrist, Charlie Milner, Josh Darr, and I really only had command line data-gathering Python scripts at the end of the hackathon weekend and we were badly in need of a designer. Luckily, Chris Nies’ friend and “CSS guru” Nick Weingartner was interested in joining in. Our team were all regulars at the Monday evening hacknights and kept in touch regularly via a 100+ post email chain. Our app mashed up APIs like CiceroFacebookTwitterCartoDB and OpenStates, along with 700+ MBs of screen-scraped data from the Pennsylvania legislature’s website. We came out of the process with a very quality piece of software that will make it easy for regular non-politicos to check a dashboard and learn about their Pennsylvania state senators and representatives and keep tabs on their ongoing activities. We hope to go public soon and keep it relevant with blog posts of political analysis (from Chris Brown, who’s a Political Science PhD candidate at U-Penn). While we were gunning for the “Most Improved” prize, the judges actually saw fit to award us with the “Greatest Potential Impact” award – something that we’re all proud of (and maybe even a bit shocked about!).

Electory team demoing their crowdsourced local election leaders database

Electory team demoing their crowdsourced local election leaders database

The third demo of the evening was Electory, by Chris Alfano, Brett Goldman, Tim Wisniewski, Mjumbe Poe, Jim Bazis, Donovan Preddy, and others. This app was complete enough after the first hackathon weekend to win 3rd place in Round 1. Electory aims to be a crowdsourced database of neighborhood-level election leaders, volunteers, and party committee-people, making the process of contacting the most local and most common elected representatives much easier. Electory added crucial functionality to their app in the followup nights, including electronic authentication of users who wish to add or edit information against the city voter file, using basic questions like date of birth, house number, and real name. Electory is effectively the confluence of multiple proposals brought to Hacks for Democracy for a dataset of committee-people, a real need in the City Commissioner’s office, and Tim Wisniewski’s idea for an improvement on electronic voter authentication systems. The app demonstrates that matchmaking and sharing ideas at the beginning of civic hackathons is crucial, despite the potentially competitive structure of these events. Had each of these teammates worked on separate projects, the resulting software would not have been as comprehensive.

Mike Zaleski demoing SEPTA Routes N Reps

Mike Zaleski demoing SEPTA Routes N Reps

Our final demo of the evening was Mike Zaleski’s SEPTA Routes n Reps app, which also had some help from City GIS folks Sarah Cordivano and David Walk. Zaleski transformed the UI of his original app by using Twitter Bootstrap to create a quality mashup of SEPTA bus and train route data, OpenStates, and Cicero legislative districts, displayed through CartoDB. The aim is to enable SEPTA commuters to more easily contact their elected representatives regarding service and schedule changes. The judges liked Routes N Reps’ new design enough to award it the “Most Improved” prize.

Zaleski, being a lead developer at SEPTA itself, was even able to host his app on the SEPTA website and show it off to SEPTA’s Government Affairs department. Zaleski said that SEPTA’s government team is potentially interested in the app, and gave him a list of possible improvements. (He might need a break first!) We’re all certainly hopeful that this hackathon project continues its life as a functional piece of the Philadelphia area’s e-government infrastructure!

They All Won

 

 

The judges got into the app sustainability groove as well.  The three Round 2 prizes were supposed to be $500 each. Upon seeing the quality of these apps, our judges – secondmuse‘s Mike Brennan, PPIIN‘s Neil Budde, and City Controller candidate Brett Mandel – decided that they wanted to encourage everyone to move forward. So, they knocked the main prizes down to $300 and gave each of the 4 apps that made it through Round 2 $150 to go towards hosting and development costs. Furthermore, Neil Budde said that the Philadelphia Public Interest Information Network is interested in partnering with some of the apps to get them more widely used. I know that’s something our State-Gov-Tracker team is considering, and it wouldn’t surprise me if other teams would be happy to collaborate with PPIIN as well.

Reflections

 

I really enjoyed this hackathon. The follow up events were awesome and a great opportunity to focus on making a finished product. I learned a lot and met some great people! Will definitely participate again in the future.

This was my first hackathon and I can’t imagine it being done any other way.

A little more time committment than I would have liked.

The above are all comments I heard from various participants. I certainly think the positives outweigh the negatives for this style of extended-hackathon. Most people seemed to enjoy it and had a lot of fun, and the apps are WAY better after so much seasoning time. With the judges’ decision and PPIIN, SEPTA, and the Commissioner’s office all interested in improving these apps, we have a bright future ahead for the Hacks for Democracy community. But as I hinted at way up in the first paragraph, and as that final quote highlights, it is important to reflect on the choices we made and challenges we had with this type of event. Like anything, it wasn’t perfect. Is this type of extended model for hackathons something the civic hacking community should adopt in the future? Let’s take a look at some of our organizational choices.

  • Two Venues – We were worried about our office being able to handle the bandwidth needs of lots of hackathon participants for an entire weekend, which was why we partnered with Venturef0rth to host the main weekend event. Meanwhile, we expected the followup events to have a somewhat lower turnout, so we kept hosting those at Azavea. This worked well, and Venturef0rth was a generous and cooperative host. I know at least one visitor to the hackathon came because Venturef0rth was close to his apartment and he wanted to see what we were up to. If we had only used one venue in one neighborhood, perhaps we would not have received the level of participation that we did. However, it did add logistical challenges: we had to get our own folding tables and couldn’t use our own office furniture, for instance.
  • Swag and Sponsorships - We decided not to go with swag or t-shirts for Hacks4D – partly for cost, partly for the organizational difficulties it would have presented. Nobody seemed to miss it. Instead, Azavea gave all interested hackathon teams 10,000 Cicero credits for a year, and CartoDB offered 1 free year of its Magellan plan. The State-Gov-Tracker and Routes and Reps teams each took advantage of both of these offers – arguably benefiting the apps more than a t-shirt. Other sponsors, Knight-Mozilla OpenNews, Esri, secondmuse, Jarv.us, and ElectNext, provided the funds that made our prizes possible.
  • Special Guests and Judges – We were glad to have City Commissioner Stephanie Singer, Jared Marcotte from the Voting Information Project, Anthea Watson from the Google Elections Center, Michael Strickland from the New York Times, and the Sunlight Foundation’s Bob Lannon at the events to demo their APIs and tools and provide help from their vast experiences. We also had some “celebrity” judges, including Philadelphia Chief Data Officer Mark Headd, the William Penn Foundation‘s Phoenix Wang, secondmuse’s (Random Hacks of Kindness) Mike Brennan, PPIIN‘s Neil Budde, and candidate Brett Mandel. I felt like the diversity of tools and help presented by these guests and the diversity of perspective provided during judging made the app submissions and eventual winners that much better. Plus, by attracting members of the City government, the potential for further community and partnership development (the Undecideds, Electory, and the Commissioner, for instance) is definitely there.
  • Brainstorming and Matchmaking – In my opinion, the pre-hackathon presentation and brainstorming night was critical to making Hacks for Democracy what it was. Some people come to civic hackathons with ideas, other people come with skills and need an idea to latch onto, and many people are new to the whole thing and need a guide. We felt that our mission as organizers was to help get teams to coalesce and bond from the first night because hackathons should build community first and apps second. We organized it “town hall” style, where we presented our APIs and sponsors, then opened the floor for anyone to present an idea, and afterward let people meet each other without the pressure of writing code yet. There was no coding at all on the first evening! That low-impact focus on the first night also got a lot of non-developers in the door, and some stayed for later events.
  • Charging for tickets – Unlike many hackathons, Hacks for Democracy was not free to attend. We set up a TicketLeap site ahead of time and were charging a nominal $5.00 fee, which included food and refreshments at all 7 events.  We had sponsorships to cover most of our costs, so fundraising or making money was not an issue. Rather, there’s a theory that charging for hackathon tickets results in a more effective count of who will attend the events. It’s a “commitment fee” – people have to put their money where their mouth is and promise to come. A commitment from everyone makes things like pizza orders and venue setup much easier to predict. In practice, I’m not sure charging was a good decision. Quite a few last minute walk-ins never bought a ticket, and while we were very glad to have them, that seems unfair at some level.
  • Scheduling and the Follow-Up event Structure – When planning an extended-length event, the potential for scheduling conflicts rises quickly. In addition to PennApps conflicting with the main weekend, General Assembly held an event in Philadelphia the night of our final awards, which also probably impacted our turnout. In our planning process, we limited the weekends we had to pick from due to the voter registration deadline in Pennsylvania on October 9. Our follow-up hack nights were always on Monday, preventing anyone who had a recurring meeting then, for example, from coming. And then we have the quote from the attendee above about the follow-up events being too much of a time commitment. These are tradeoffs to an extended event, and the first especially highlights the need for local tech communities to communicate with each other about the events they’re organizing in advance. However, while I can’t speak for everyone, I heard many positive comments about the Monday evening hack nights and having three weeks to work on projects. The hack nights were very informal and very easy to plan (we essentially just kept our office open late and ordered pizza and beer), and around 10-15 participants a night from all different teams attended each of them. I consider our schedule one of our key successes.

So, did our gamble with Hacks for Democracy’s “hackmonth” format succeed? You can use one of the apps and be your own judge, but count me as at least one hacker who’s hoping for more well-planned extended hackathons in the future!

Hacks for Democracy: a Hackathon for Elections and Politics

 

Hacks for Democracy banner

While Azavea works on all manner of software projects that use geographic data, there are a few areas where we spend more time than others.  Elections and politics is one of these focus areas.  Our elections-related work includes the Cicero API, RedistrictingTheNation, the open source DistrictBuilder redistricting software, and our recent work on the impact of the new Voter ID law in Pennsylvania.

Why?

Democracy is not inevitable or a given; it must be sustained and strengthened by each generation. Today, American democracy is challenged by unlimited political contributions, polarized legislatures, gerrymandered districts and opaque processes.  But efforts such as the Voting Information Project, open government data repositories, online voting, ParliamentWatch and TheyWorkForYou have demonstrated that technology can make an important contribution toward improving democratic institutions.
This fall is going to be a hard-fought election in the United States.  In addition to electing a president, most state legislatures will be selected using new district boundaries and many local officials will have to submit their qualifications to their constituents.  In anticipation of this touchstone event of democracy, Azavea will be organizing a hackathon focused on elections, politics and open democratic processes.  We’re calling it Hacks for Democracy, and we’re pretty excited about it.

How can you participate

Do you have an idea for an app that will improve this fall’s election?  What tools do we need to improve citizen engagement?  Is there an app that would get your friends to the voting booth in November?  What app might help mitigate the impact of voter ID laws?  What data would make your local city council and board of elections more transparent?  Join civic hackers, election officials, journalists, data analysts and designers to make progress on these and other questions related to elections and politics.
The hackathon will begin with a brainstorming session on Friday, Sept 14, before the main hacking event over the weekend. But we are also going to encourage the continued development of the projects that emerge from the weekend hackathon event by hosting a series of follow-up events, culminating in a second round of judging on October 5, one month before the general election.  None of the follow-up events are required, but we’re encouraging teams to continue developing what they start over the weekend.
Oh, and there will be prizes.  We’ll crown the best projects from the weekend on the afternoon of Sunday, Sept 16, but then we’ll have a second round of judging and prizes three weeks later, for applications that have been rolled out or are most improved since the hackathon.
Register Button Submit Project Button
Here’s the full schedule:
  • Fri, Sept 14, 6:30pm – 8:30pm, API and Project Idea Presentations, Azavea, 340 N 12th St, Suite 402
  • Sat, Sept 15, 9am – 5pm, Hackathon, Venturef0rth, 417 N 8th St, 2nd fl, Philadelphia, PA  19123
  • Sun, Sept 16, 9am – 5pm, Hackathon, Venturef0rth, 417 N 8th St, 2nd fl, Philadelphia, PA  19123
  • Mon, Sept 17, 6pm – 9pm, Hack evening, Azavea, 340 N 12th St, Suite 402
  • Mon, Sept 24, 6pm – 9pm, Hack evening, Azavea, 340 N 12th St, Suite 402
  • Mon, Oct 1, 6pm – 9pm, Hack evening, Azavea, 340 N 12th St, Suite 402
  • Fri, Oct 5, 6:30pm – 8:30pm, Final Judging and Awards, Azavea, 340 N 12th St, Suite 402
We are encouraging both existing and new projects.  The only criterion are:
  1. Projects should be related to elections, democracy and politics
  2. The work be made available under an open source license so that others can use it, remix it and mash it up.
Got an idea or existing project for the event?  Write up a paragraph at the HackerLeague page.
Want to participate?  Register
Finally, I want to acknowledge the generous support of our sponsors:

 

New in Cicero: Census data

With the release of lots of new decennial Census data, many organizations are realizing how powerful these data can be. Here’s the problem: the Census bureau has a complicated geographic hierarchy that can be difficult to understand. That’s where the Cicero API comes in. Our spatial data experts have mastered it all — we have compiled and aggregated the data for ease of use with our API and Batch Geocoding service. That includes Census blocks, block groups, tracts, metropolitan statistical areas, urban areas and voting districts. There are a lot of cool things you can do with this.

Let’s say you are a nonprofit interested in who exactly your constituents are. Rather than take the time to do a survey of your members which may or may not produce good results, we can perform address-based census tract or block group matching. That is, we’ll find out the census tracts or block groups your constituents live in. Then, you (or we!) build a demographic profile — based on the Census data for that tract or block group – of your constituents. This allows you to understand your members and reach out to potential constituents in other census tracts or block groups with similar demographic profiles where you might be underrepresented.


Recently, we used our Batch Geocoding service to append Census Tract ID’s to thousands of our clients’ members (shown as red dots).

Or, let’s say you are running an advocacy campaign and targeting specific media markets. We can match your members to their metropolitan statistical area — often used to define media markets. Then, you can effectively tailor a message targeted to where you need to reach an audience.

We’ve done similar work for clients before, check out our case studies. You can also follow our updates on Twitter.

Cicero is Tracking Legislative Boundary Data and Schedules FOR You

As newly approved redistricted legislative district boundary plans are released our spatial analysis team has been running compactness analysis on each one (see Daniel McGlone’s recent blog on his analysis of the approved PA congressional boundaries – http://www.azavea.com/blogs/atlas/2011/12/pennsylvania-congressional-redistricting-we-have-a-plan/). Our growing collection of official, state-approved legislative district boundaries is not just tickling our intellectual fancy – We are also methodically adding the new boundary files to our Cicero API data collection and making it available through a new call we’ve recently added to the API.

This new call has proven to be a big hit with organizations wanting to preemptively match their constituents to the districts they will belong to when the new district boundaries take effect.  This enables organizations to prepare their constituent databases for rapid call-to-action campaigns directed at new legislatures, analyze their constituents by districts for the next election cycle, and more.

To use the GeocodingService or MapGeneration service to access newly drawn districts based on the 2010 census:

  • Simply append the suffix “_2010″ to the DistrictType parameter in any method (for example, you would use the DistrictType NATIONAL_LOWER_2010 to see the new House districts and STATE_UPPER_2010 to see new State Senate districts).
  • ALL_2010 will return all the new districts available for any given location.
  • If new districts are not yet available for a given location, the SOAP response will not return district responses for the location.

We are tracking when each state’s new legislature officially takes office (in the majority of cases, this is when the new boundaries take effect). As each state takes office, we will be moving the 2010 boundaries to the current boundary dataset.  In other words, keep using the DistrictType calls the way you are using them now and we will do the updating work for you!

New states will continue to be added as we receive and process the data.

Questions?  Feel free to contact us: http://www.azavea.com/products/cicero/contact/

Pennsylvania Congressional Redistricting: We Have a Plan!

After months of only rumors leaking out of the Pennsylvania Capitol about the redrawing of the state’s congressional districts, a map was finally released yesterday. It was supposed to be released last week. Then it was delayed until Monday. Then Tuesday. Then a PDF came out yesterday and the shapefile, which allows us to do a geographic analysis, early this morning. The Cicero team couldn’t wait to get our hands on it!

At first glance we were taken aback, most notably by District 7, which got more “Wow what is that?” remarks in the office than the earthquake. There is a lot to say about this monstrosity, certain to be a poster child for future gerrymandering studies. We’ve been able to perform some basic GIS analysis on the new districts today and will present some findings below. Next week, we’ll write about some of the methods used to create the numbers we are presenting.

First off, here’s the numbers you have been waiting for: compactness, demographics and voting tendency for the current and proposed congressional districts:

UPDATE 12/19/2011: We have added statistics for the Democratic congressional redistricting proposal:

As you can see, using both the Polsby-Popper and Schwartzberg methods of calculating district compactness (read up about how those are calculated by taking a look at our gerrymandering white paper), the proposed congressional districts are slightly less compact than the districts currently in effect. While that may not seem like a lot, keep in mind that Pennsylvania’s current districts are already some of the least compact in the nation, according to our study. District 7, represented by Patrick Meehan (R), takes the honor of having the eighth least compact congressional district in the nation. Of all the newly drawn congressional districts, it is the fifth least compact in the nation. Have a look for yourself:

» Continue Reading