Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

  Wednesday, December 13, 2006 

Data formats for digital democracy: XML vs CSV

As a first experiment I grabbed the DCStat reported-crime feed for November, sucked it into Excel 2003, consolidated incidents by day, pivoted them on type of offense (homicide, burglary), and exported them back out as a CSV (comma-separated value) file that Swivel could import. [Full story at InfoWorld.com]
Here's one of those pivot tables in Swivel. The auto-generated charts don't do much for this style of dataset. But the point of this week's column is that just publishing a named dataset, along with pointers to the raw data, is inherently valuable.

I imported the same data into Dabble DB where it's very easy to use grouping and filtering to make views like this one. Again the point is that the views are sharable on the web. Also, in this case, invited collaborators can tweak them.

Going through this exercise, I was struck by the distance between DCStat's namespace-rich XML formats and the CSV format that web apps like Swivel and Dabble DB want to read and write. I happen to know how to use the XML Maps feature of Excel 2003 to shred an XML file but I doubt many Excel users have ever done that. To enable ordinary citizens to explore this data, DCStat might want to offer a common-denominator CSV format in addition to the XML flavors.

Comments


 


Recent Entries


















































Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist