International Aid Transparency Initiative Data Spotter
This little app was built to help in the checking of data quality of IATI format XML files. See http://iatistandard.org/ for more info.
GNU Affero General Public License (except where stated) All javascript used has been re-used from websites. Credit is given in those files. Images in themes/images are all GPL from the Gnome desktop: http://art.gnome.org/themes/icon
1) Place all the files in the web directory of your server and point your browser at that directory.
2) Get some data To view IATI data you'll need to get some. Browse available data at: http://iatiregistry.org/
3) Create a directory called 'data' in the webroot of the application
4) Create sub-directories to hold data for each of the data providers files you want to interogate.
5) Create a 'variable' file in the variables directory for this data provider.
6) For security (and to see your data), variables/available-groups.php will need to be edited.
7) Edit variables/example.site_vars.php to enable filesize functions. Rename the file site_vars.php
in /themes/header.php we have the following:
error_reporting(0); //Kills error reporting. Comment this line out to help you debug. ini_set("memory_limit","128M"); //Some of the processes are quite memory intensive, you may need to set this for your servers abilities.
These are a set of scripts that run over the data in the /data duirectory and produce a bunch of stats
This is a small app that can display a view on processed/aggregated data. The idea is to give an overview of which data providers are reporting which IATI elements
Running where_can_i_find.php will generate files in the where_is/data/ directory. There needs to be data in the main /data directory for this script to generate it's own data. This allows you to set up a custom set of publishers files to iterate over.
Aggregated data is currently stored in the git repository, so by pulling this data regularly you can cut out the overhead of having to pull raw data and process it yourself. The plan is to run the aggregation script daily.
The rest of the app will use this data to display stuff! Point your browser at /where_is/ to see it in action.