<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tetrahedra &#187; DFID</title>
	<atom:link href="http://tetrahedra.co.uk/tag/dfid/feed/" rel="self" type="application/rss+xml" />
	<link>http://tetrahedra.co.uk</link>
	<description>Digital design and development</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:56:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Eating my own dogfood</title>
		<link>http://tetrahedra.co.uk/eating-my-own-dogfood/</link>
		<comments>http://tetrahedra.co.uk/eating-my-own-dogfood/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 19:11:31 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[International Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[Transparency]]></category>
		<category><![CDATA[Visualisations]]></category>
		<category><![CDATA[Aid]]></category>
		<category><![CDATA[aid transparency]]></category>
		<category><![CDATA[amCharts]]></category>
		<category><![CDATA[DFID]]></category>
		<category><![CDATA[IATI]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[Yahoo! Pipes]]></category>

		<guid isPermaLink="false">http://tetrahedra.co.uk/?p=225</guid>
		<description><![CDATA[Prototypes experimenting with visualising IATI data from DFID.]]></description>
			<content:encoded><![CDATA[<p>Part of my day job at <a href="http://www.dfid.gov.uk">DFID</a> includes a bit of responsibility for publishing data under the government&#8217;s <a href="http://www.number10.gov.uk/news/statements-and-articles/2010/05/letter-to-government-departments-on-opening-up-data-51204">transparency commitments</a>. In common with other UK central government departments, DFID routinely publish <a href="http://www.dfid.gov.uk/About-DFID/Finance-and-performance/DFID-spend/">spend</a>, <a href="http://www.contractsfinder.businesslink.gov.uk/Search%20Contracts/Search%20Contracts%20Results.aspx?site=1000&#038;lang=en&#038;sc=daca2b40-d018-4504-822d-984c7deaf0f4&#038;rb=1">contract</a> and <a href="http://www.dfid.gov.uk/About-DFID/Our-organisation1/Top-salaries/">HR</a> information. But unique to DFID is the publication of all aid projects.</p>
<p>In January this year DFID began to publish details of every aid project in the <a href="http://www.aidtransparency.net/">International Aid Transparency Initiative (IATI)</a> <a href="http//iatistandard.org">Standard</a> XML schema. There are now a set of XML downloads referenced from the <a href="http://iatiregistry.org/group/dfid">IATI Registry</a> covering countries, regions and multilateral aid activities, all delivered through a RESTful API, and refreshed every month with up-to-date data. DFID also publish a more human-readable version of this information on the <a href="http://projects.dfid.gov.uk">Projects Database</a> on the DFID website.</p>
<p>The <a href="http://www.hewlett.org/">Hewlett Foundation</a> are the second organisation to <a href="http://iatiregistry.org/group/hewlett-foundation">publish in IATI format</a>, and others are following on close behind.</p>
<h4>Eating my own dogfood</h4>
<p><a href="http://www.owen.org/blog/4486">Owen Barder blogged recently</a> that organisations publishing data should be forced to use that data on their own websites &#8211; so that &#8220;eating their own dogfood&#8221; would drive up quality. As I don&#8217;t get the chance to do this at work, I&#8217;ve been having a play with the IATI data in my own time. Just for fun, you know. </p>
<p>Here are a few initial prototypes. I will blog implementation details in the next few posts, and include code.</p>
<h4>Charting using amCharts</h4>
<p>I first saw the <a href="http://www.amcharts.com/">amCharts charting tool</a> in <a href="http://foreignassistance.gov">ForeignAssistance.gov</a>, the US aid portal. The tool takes XML or CSV data and generate Flash or Javascript charts &#8211; pie, column/bar, line, bubble and so on. The tool is very straightforward to set up, and data can be set up using XSL transformation of IATI XML data.</p>
<p><a href="http://tetrahedra.co.uk/wp-content/uploads/amCharts.png"><img src="http://tetrahedra.co.uk/wp-content/uploads/amCharts.png" alt="" title="amCharts" width="550" height="194" class="aligncenter size-full wp-image-235" /></a></p>
<p>These sort of charts would be  useful to:</p>
<ul>
<li>get an overview of what a donor is doing in a country</li>
<li>use as a widget on a site dedicated to aid in that country</li>
<li> (if aggregated across donors in a country), provide an overview of what activities are considered important</li>
<li>show past and future aid flows for a country</li>
</ul>
<p>There are still some challenges &#8211; for example aggregating the sectors (health, infrastructure, water) rather than the very granular sectors listed.</p>
<p>See with the <a href="http://iati.tetrahedra.co.uk/amCharts/index2.php?c=IN">charts in action</a>. Use 2-letter ISO codes to look up a country you&#8217;re interested in. </p>
<h4>Yahoo! Pipes</h4>
<p>Yahoo! Pipes is a tool that enables manipulation of internet data feeds using a set of pre-determined tools. <a href="http://pipes.yahoo.com/tetrahedra/iatiparser">This pipe</a> retrieves the country file for, in this case, Uganda (UG), filters for currently active projects, and produces a list of aid activities matching those criteria. </p>
<p><a href="http://tetrahedra.co.uk/wp-content/uploads/YahooPipesIATIParser.jpg"><img src="http://tetrahedra.co.uk/wp-content/uploads/YahooPipesIATIParser.jpg" alt="" title="YahooPipesIATIParser" width="550" height="228" class="aligncenter size-full wp-image-238" /></a><br />
Note: the IATI schema needs to have the XML directive added at the top to enable it to be read by Yahoo! Pipes.</p>
<p>These tools would be useful to:</p>
<ul>
<li>aggregate information for a country from different sources (for example through the IATI Registry)</li>
<li>mashup using connections between aid projects and other indicators</li>
<li>transform or filter the data without using XSL</li>
</ul>
<p><a href="http://pipes.yahoo.com/tetrahedra/iatiparser">Go on, have a play.</a></p>
<h4>WordPress Country View</h4>
<p>In the <a href="http://wiki.wordcampuk.org/OpenAid">WordHack at last years WordCamp UK</a>, the WordHack team developed a prototype to import aid data into a WordPress custom posts structure. As the WordHack was based on non-IATI XML, I&#8217;ve adapted this for IATI data.</p>
<p>In short, <a href="http://openaid.org.uk">openaid.org.uk</a> allows an import of IATI XML data for a particular country into a WordPress instance, creating a new Custom Post from each IATI activity (aid project), and dealing with DFID&#8217;s hierarchical project/component structure. The code regularly checks the data source for updates and creates new versions accordingly.</p>
<p><a href="http://tetrahedra.co.uk/wp-content/uploads/openaiduk.jpg"><img src="http://tetrahedra.co.uk/wp-content/uploads/openaiduk.jpg" alt="" title="openaiduk" width="550" height="438" class="aligncenter size-full wp-image-240" /></a></p>
<p>This could be used by a Civil Society Organisation (CSO) in a developing country to:</p>
<ul>
<li>aggregate all donor activities for their country,</li>
<li>allow  citizens to add comments on each donor activity using the WordPress commenting capability, and</li>
<li>keep track of the changing nature of the projects through regular updates.</li>
</ul>
<p><a href="http://openaid.org.uk">Here&#8217;s the example site</a> with a very few test projects.</p>
<h4>Next steps</h4>
<p>These are just a few initial ideas and prototypes. Please add your ideas below, or, if you&#8217;re really keen, visit the new <a href="http://support.iatistandard.org/">IATI Support forum</a> and send in your ideas. </p>
<p>Disclosure: Although I work for DFID, these prototypes were developed in my own time and using my own equipment. Yes, I&#8217;m a geek.</p>
]]></content:encoded>
			<wfw:commentRss>http://tetrahedra.co.uk/eating-my-own-dogfood/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenAid WordHack</title>
		<link>http://tetrahedra.co.uk/openaid-wordhack/</link>
		<comments>http://tetrahedra.co.uk/openaid-wordhack/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 17:48:39 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Community Activism]]></category>
		<category><![CDATA[International Development]]></category>
		<category><![CDATA[Portfolio]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[aid transparency]]></category>
		<category><![CDATA[DFID]]></category>
		<category><![CDATA[openaid]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[UKaid]]></category>
		<category><![CDATA[wordcampuk]]></category>

		<guid isPermaLink="false">http://tetrahedra.co.uk/?p=175</guid>
		<description><![CDATA[A WordHack to create a WordPress site importing UK Aid data]]></description>
			<content:encoded><![CDATA[<p><a href="http://openaid.org.uk"><img class="aligncenter" src="http://demo.openaid.org.uk/wp-content/themes/openaid/images/logo.jpg" alt="OpenAid logo" /></a></p>
<p>The WordHack at WordCamp UK in Manchester this year was really exciting. By 4.30 pm on day 2 the team had created a <a href="http://openaid.org.uk">stunning WordPress site</a> that:</p>
<ul>
<li>Reads and transforms XML data on <a href="http://projects.dfid.gov.uk">DFID aid projects</a> into a format ready for import into WordPress</li>
<li>Imports the XML into a WordPress Custom Post Type for each DFID aid project, creating new post versions if the source data has changed</li>
<li>Links comments to the post version, so that someone can view comments in the context of the data at the time</li>
<li>Displays the data in a clean user interface, focussing on the conversation that people can have around aid projects</li>
</ul>
<p><a href="http://tetrahedra.co.uk/wp-content/uploads/openaid_site.png"><img src="http://tetrahedra.co.uk/wp-content/uploads/openaid_site.png" alt="" title="openaid_site" width="550" height="273" class="aligncenter size-full wp-image-180" /></a></p>
<p><strong>User Story</strong><br />
The concept (User Story) of the site is that people (either UK citizens or citizens of developing countries) can view summary details of DFID aid projects, and can start conversations around individual projects. Ultimately, this may be best used for sub-sets of the full 3000-odd projects based around communities of interest, for example by a community within a developing country. </p>
<p><strong>Why WordPress?</strong><br />
The new Custom Post Types in WordPress provide the framework needed to handle more structured data around aid project information. Other core features are the commenting capability, use of categories and tags for classification, and the built-in post versioning system. These would require a significant effort to write from scratch.</p>
<p><strong>Credit to the Team</strong><br />
I was really pleased with what the team achieved, and it builds on work done at the recent <a href="http://www.aidinformationchallenge.org/">Aid Information Challenge</a>. It clearly shows what can be done with government information when the data is provided in a reusable format. </p>
<p>The keys to the success were:</p>
<ul>
<li><a href="http://shaunhare.co.uk/">Shaun Hare</a>&#8216;s organisation was critical. He set up the WordHack wiki page, canvassed for ideas early, and allowed for discussion within the group.</li>
<li>Getting ideas early really helped, as people could develop the ideas over a couple of weeks, and come to WordHack with a better-formed solution in mind. It also helped to break up the problem into a number of logical components that enabled everyone to do something useful.</li>
<li>The skill and dedication of <a href="http://wiki.wordcampuk.tonyscott.org.uk/WordHack_UK_2010/OpenAid#Developers">the team</a> was phenomenal. Each person chose a different component and delivered something useful, and Chris and Shaun tied it all together on Sunday afternoon. </li>
</ul>
<p><strong>More details</strong><br />
The technical details of the site are available on the <a href="http://wiki.wordcampuk.tonyscott.org.uk/OpenAid">OpenAid project page</a> on the WordCampUK Wiki, and we hope to have a Google Code project set up soon.</p>
<p><strong>Next steps</strong><br />
The next steps are likely to be:</p>
<ul>
<li>Add Ajaxy goodness to the front page to allow the most recent conversations to magically appear, Twitter style.</li>
<li>Make the import plugin generic to allow any XML data to be transformed into the Custom Post Type &#8211; possibly by providing a URL for the XML and an XSL transform.</li>
<li>Create a map based on country data to show where the conversation is happening.</li>
<li>and many more&#8230;</li>
</ul>
<p>If you are interested in continuing involvement then please follow <a href="http://twitter.com/openaiduk">@openaiduk</a> on Twitter. </p>
]]></content:encoded>
			<wfw:commentRss>http://tetrahedra.co.uk/openaid-wordhack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

