The Scoop

  • Home
  • Projects
  • About The Scoop
  • Fixing Journalism
  • Medill Links
  • Departments
    • API
    • Apple
    • Asides
    • Broadcast
    • Campaign Finance
    • Car Tools
    • Code
    • Data
    • DIY
    • django
    • Fed Data
    • FOIA
    • General
    • IRE
    • Journalism
    • Local Data
    • Mapping
    • Miscellany
    • NonGov Data
    • Online
    • Paper Trail
    • Presentations
    • Public Records
    • Python
    • Rails
    • Ruby
    • SLA
    • Social Network Analysis
    • Sports
    • State Data
    • Teaching
    • Work
    • XML
  • Subscribe via RSS

Python

« Previous Entries
Next Entries »

FEC News Script Returns from Oblivion

May 20th, 2008  |  by Derek Willis  |  published in Campaign Finance, Python

Ages ago I released a simple Python script to generate an RSS feed from the Federal Election Commission’s press releases. Well, it’s 2008 and there’s still no official RSS feed, so I’m updating the script and using it as a launchpad for a suite of Python utilities for working with FEC data. In the future [...]

Django, iCal and vObject

July 31st, 2007  |  by Derek Willis  |  published in django, Python

For one of our Django applications at work we received a request to add iCal feeds to accompany the RSS feeds available for each candidate’s page (example here). I first thought about doing this using a hard-coded template, the way described in March on boomby.com. So I did and it worked – the directions are [...]

Python and Penalties

November 27th, 2006  |  by Derek Willis  |  published in Python

While watching the Florida-Florida State football game on Saturday, it occurred to me that the Gators seem to get quite a few delay of game penalties, maybe more than other teams. But how to check that theory? Try Python and ESPN’s site, which provides detailed play-by-play logs for games in a nicely consistent syntax. I [...]

FEC Electronic Filings Feed

June 28th, 2005  |  by Derek Willis  |  published in Python, XML

Thanks to the magic of Python and MySQL I’ve put together an RSS 2.0 feed of today’s Federal Election Commission electronic filings. It’s updated hourly between 8 a.m. and 11 p.m. via a cron job, and you can find the script on my FEC Electronic Filings page. Subscribers are welcomed. Other RSS feeds may be [...]

XML Parsing with Python

April 29th, 2005  |  by Derek Willis  |  published in Python, XML

Let’s face it, relational database types don’t like XML files. They’re structured, sure, but not in quite the way we’re used to. So pulling them apart is a chore for which there are many tools but few that seem to fit easily into the CAR mindset. Enter Python and the Amara toolkit. Amara builds on [...]

« Previous Entries
Next Entries »

Recent Comments

  • Seth Lewis on Lost in the Weeds
  • Reporters' Lab // News algorithms already exist – and that’s good on The Programmer-Reporter
  • Eric Mill on On Legislative Data Transparency
  • (19:19 06-02-2012) Noticias más populares de #opengov en las ultimas 24 horas | Tuits de Software Libre on On Legislative Data Transparency
  • (15:05 06-02-2012) Noticias más populares de #opengov en las ultimas 24 horas | Tuits de Software Libre on On Legislative Data Transparency

Recent Posts

  • Lost in the Weeds
  • Our Mark Knoller Problem
  • The Programmer-Reporter
  • Investigating House Freshmen Voting Patterns
  • On Legislative Data Transparency

Linking Out

  • Mapping America — Census Bureau 2005-9 American Community Survey - NYTimes.com
    holy crap
  • Backbone.js and Django | joshbohde.com
  • ProPublica
  • Geoff: GeoJSON Feature Functions for JavaScript
  • Introducing Spanner: From Documents to Linked Data Apps—Clark & Parsia: Thinking Clearly
  • A performance lesson on Django QuerySets | Seek Nuance
  • http://www.post-gazette.com/pg/03001/1108747-209.stm
  • CBC News - Canada - Database: Canadian cables in WikiLeaks
  • Federal prosecutors likely to keep jobs after cases collapse - USATODAY.com
  • Strata Gems: Explore and visualize graphs with Gephi - O'Reilly Radar


©2012 The Scoop
Powered by WordPress using the Gridline Lite theme by Graph Paper Press.