The Scoop

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

Python

« Previous Entries
Next Entries »

Format database field names in Excel

October 29th, 2004  |  by Derek  |  published in Python

Format database field names in Excel: “Often I get data to import in MS Excel files, and the column headers are not very useful for column names. They contain spaces, punctuation, and special characters that make a simple import difficult.
This script opens the file in Excel, and applies some simple formatting rules to the first [...]

FEC News RSS 2.0

October 8th, 2004  |  by Derek  |  published in Python, XML

The latest version of my Python script that scrapes the FEC’s press release page and creates an RSS feed fixes two previous errors, one big and one small.

FECNews RSS 1.5

October 2nd, 2004  |  by Derek  |  published in Python, XML

I’ve updated my Python script that creates an RSS feed by scraping the FEC’s page of news releases, due to a redesign of the FEC site.

XML to DDL

September 15th, 2004  |  by Derek  |  published in Car Tools, Python

Wow, this looks useful: “XML to DDL is a set of Python programs to convert an XML representation of a database into a set of DDL (Data Definition Language) statements.” Supports PostgreSQL, MySQL and Firebird.

FEC News RSS 1.4

July 13th, 2004  |  by Derek  |  published in Python, XML

Just a small change to my script that makes an RSS feed from the Federal Election Commission’s releases: instead of grabbing just the press releases, it grabs the first 10 items from the entire “What’s New” section of the homepage.

« Previous Entries
Next Entries »

Recent Comments

  • First step in bringing change: find the believers |  on Six Reasons To Look Past Caspio
  • Ed on Joyce Meyer Ministry Compensation
  • Tim on Represent and GeoDjango
  • Tim on Represent and GeoDjango
  • Strange Attractor » Blog Archive » links for 2008-12-23 on Represent and GeoDjango

Recent Posts

  • Represent and GeoDjango
  • Liz Donovan, News Researcher
  • Deploying Django with Fabric
  • Even More Fumblerooski
  • White House Beat Feature Request


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