Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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.
PHP Other
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Copying
analyse_data_scripts
analyse_data_scripts_v1
bash
command_line
functions
helpers
javascript
processes
theme
variables
where_is
.gitignore
Batch_Processes.txt
README.mediawiki
activity_list.php
activity_status_count.php
budgets_count.php
budgets_missing_elements.php
codes.php
country.php
currency.php
date_validates.php
date_value_validates.php
defaults.php
document_links.php
headers.php
iati.php
identifiers.php
index.php
missing.php
missing_country_elements.php
organisation.php
part_org_mismatch_refs.php
part_org_missing_refs.php
part_org_not_on_code_list.php
participating_org_count.php
region_codes.php
sector.php
sector_list.php
statistics.php
time_generated.php
time_updated.php
transactions.php
transactions_by_year.php
transactions_count.php
transactions_integers.php
transactions_list.php
transactions_missing_elements.php
unique.php
urls.php
validate.php

README.mediawiki

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.

Table of Contents

Licence

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

Install

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

Tweaks

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.

Applications Within Applications

Analyse Data Scripts

These are a set of scripts that run over the data in the /data duirectory and produce a bunch of stats

Where_is

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.

Something went wrong with that request. Please try again.