Kansas Primary 2008 recap

I’m winding down after a couple of very long days preparing for our coverage of the 2008 Kansas (and local) primaries. As always it’s been an exhausting but rewarding time. We’ve come a long way since the first election I wrote software for and was involved with back in 2006 (where election night involved someone accessing an AS/400 terminal and shouting numbers at me for entry). Our election app has become a lot more sophisticated, our data import process more refined, and election night is a whole lot more fun and loads less stressful than it used to be. I thought I’d go over some of the highlights while they’re still fresh in my mind.

Douglas County Comission 2nd District Democratic primary section

Our election app is definitely a success story for both the benefits of structured data and incremental development. Each time the app gets a little more sophisticated and a little smarter. What once wasn’t used until the night of the election has become a key part of our election coverage both before and after the event. For example, this year we had an overarching election section and also sections for indivudual races, like this section for the Douglas County Commission 2nd district Democratic primary. These sections tie together our coverage of the individual races: Stories, photos and videos about the race, our candidate profiles, any chats we’ve had with the candidates, campaign finance documents, and candidate selectors, an awesome app that has been around longer than I have that lets users see which candidates they most agree with. On election night they’re smart enough to display results as they come in.

Election results start coming in Results rolling in County commission races almost done

This time around, the newsroom also used our tools to swap out which races were displayed on the homepage throughout the night. We lead the night with results from Leavenworth County, since they were the first to report. The newsroom spent the rest of the nice swapping in one or more race on the homepage as they saw fit. This was a huge improvement over past elections where we chose ahead of time which races would be featured on the homepage. It was great to see the newsroom exercise editorial control throughout the night without having to involve editing templates.

More results

On the television side, 6 News Lawrence took advantage of some new hardware and software to display election results prominently throughout the night. I kept catching screenshots during commercial breaks, but the name of the race appeared on the left hand side of the screen with results paging through on the bottom of the screen. The new hardware and software allowed them to use more screen real estate to provide better information to our viewers. In years past we’ve had to jump through some hoops to get election results on the air, but this time was much easier. We created a custom XML feed of election data that their new hardware/software ingested continuously and pulled results from. As soon as results were in our database they were on the air.

The way that election results make their way in to our database has also changed for the better over the past few years. We have developed a great relationship with the Douglas County Clerk, Jamie Shew and his awesome staff. For several elections now they have provided us with timely access to detailed election results that allow us to provide precinct-by-precinct results. It’s also great to be able to compare local results with statewide results in state races. We get the data in a structured and well-documented fixed-width format and import it using a custom parser we wrote several elections ago.

State results flow in via a short script that uses BeautifulSoup to parse and import data from the Kansas Secretary of State site. That script ran every few minutes throughout the night and was updating results well after I went to bed. In fact it’s running right now while we wait for the last few precincts in Hodgeman County to come in. This time around we did enter results from a few races in Leavenworth and Jefferson counties by hand, but we’ll look to automate that in November.

As always, election night coverage was a team effort. I’m honored to have played my part as programmer and import guru. As always, it was great to watch Christian Metts take the data and make it both beautiful and meaningful in such a short amount of time. Many thanks go out to the fine folks at Douglas County and all of the reporters, editors, and technical folk that made our coverage last night possible.

19 Responses to “Kansas Primary 2008 recap”


  1. 1 Jheasly Aug 6th, 2008 at 10:25 am

    Kansas has a primary in August?!

    Who knew?

    Excellent, informative write-up Matt. Thanks!

  2. 2 Stevie Aug 18th, 2008 at 6:31 pm

    Yes, I totally agree, thanks for the info. I am also looking for more information, is there anywhere specific I should be looking, I google it and I struggle :(

  3. 3 ashley Sep 4th, 2009 at 2:44 pm

    yes i

  4. 4 That understand Jun 10th, 2010 at 2:17 am

    I wish I could understand the point you said here

  5. 5 granite sculpture Jun 10th, 2010 at 4:18 am
  6. 6 forged Steel valve Jun 10th, 2010 at 8:26 pm

    You write well, I agree, I like the safety valve

  7. 7 Professional supplier of ceramic floor Jun 18th, 2010 at 7:55 pm

    Professional supplier of ceramic floor If you are interested to learn more about ceramic floor, visit ceramic floor

  8. 8 Afric Power Strip Jun 20th, 2010 at 9:43 pm

    Hello, very professional high level of writing it! So many people to comment, let me also to comment on it. Because good writing, and I learned a lot, and I am glad to see such a beautiful thing. Thanks very much !the same time, i love Afric Power Strip very much too !

  9. 9 Forged steel Valve Jun 21st, 2010 at 4:41 am

    Your blog is very exciting to write well, I will visit again

  10. 10 oil painting Jun 22nd, 2010 at 9:05 pm

    We supply all kinds of oil paintings:such as Abstract Paintings , Construction Painting and so on.

  11. 11 Booster Cable Jun 22nd, 2010 at 10:01 pm

    Good writing, and I very much agree with your thoughts and insights. Hope that more could write such a good word, I said, to continue coming to visit, thank you for sharing.i love Booster Cable very much .

  12. 12 tombstone Jun 22nd, 2010 at 10:34 pm
  13. 13 Cheap Chanel Jun 24th, 2010 at 8:45 pm

    Yes, I totally agree, thanks for the info. I am also looking for more information, is there anywhere specific I should be looking, I google it and I struggle.
    Thank you for share with us,I like Wholesale Chanel

  14. 14 sofa Jun 25th, 2010 at 2:19 am

    We supply many styles of sofas,such as China-Leather-sofa, Modern leather sofa

  15. 15 Cheap Chanel Jun 25th, 2010 at 3:38 am

    I really appreciate your help, it is very useful for me,you will get good grades! Thank you for share with us,I like Wholesale Chanel.especially Chanel Bracelet.

  16. 16 Afric Power Strip Jun 27th, 2010 at 9:19 pm

    Cool. Talking about makes sense. Is recognized. Hope that it will often share such a good text. I will always be concerned about, because you can learn some knowledge, thank you for sharing, and i love Afric Power Strip very much !

  17. 17 Cheap Chanel Jun 27th, 2010 at 10:55 pm

    I really appreciate your help, it is very useful for me,you will get good grades! I like Wholesale Chanel.especially Chanel Bracelet.

  18. 18 solar warmwasser Aug 1st, 2010 at 9:55 pm

    Sonnenkollektor oder auch Solarkollektor ist eine Vorrichtung zur Sammlung der im Sonnenlicht enthaltenen Energie. Traditionell steht die Bezeichnung für einen thermischen Solarkollektor, der mit der „eingefangenen“ Sonnenenergie ein Übertragungsmedium (Heizwasser) aufheizt, wobei nahezu das gesamte Strahlungsspektrum des Sonnenlichtes in thermischen Solaranlagen mit relativ hohem Wirkungsgrad ausgenutzt wird. Vorrichtungen zur Gewinnung von elektrischer Energie in Photovoltaikanlagen werden dagegen als Solarmodule bezeichnet.

  19. 19 solarwaterheater Aug 1st, 2010 at 9:57 pm

    Solar water heater or solar hot water is water heated by the use of solar energy. Solar heating systems are generally composed of solar thermal collectors, a water storage tank or another point of usage, interconnecting pipes and a fluid system to move the heat from the collector to the tank.

Leave a Reply