Skip to content

Instantly share code, notes, and snippets.

<?xml version='1.0' encoding='UTF-8'?>
<!--This is example XML for the IATI activity standard. No reference to actual data, real organisations or development cooperation models is intended.-->
<!--iati-activities starts-->
<iati-activities generated-datetime="2014-09-10T07:15:37Z" version="2.03" linked-data-default="http://data.example.org/">
<!--iati-activity starts-->
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2014-09-10T07:15:37Z" humanitarian="1" linked-data-uri="http://data.example.org/123456789" hierarchy="1" budget-not-provided="1">
<!--iati-identifier starts-->
@stevieflow
stevieflow / iati-activities-multiple
Created June 4, 2020 18:00
IATI activity file with multiple iati-activities
<!--iati-activities starts-->
<iati-activities generated-datetime="2014-09-10T07:15:37Z" version="2.03" linked-data-default="http://data.example.org/">
<!--iati-activity starts-->
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2014-09-10T07:15:37Z" humanitarian="1" linked-data-uri="http://data.example.org/123456789" hierarchy="1" budget-not-provided="1">
<!--iati-identifier starts-->
<iati-identifier>AA-AAA-123456789-ABC123</iati-identifier>
<!--iati-identifier ends-->
<iati-activities generated-datetime="2020-04-22T16:04:04.954146+00:00" version="2.03" xmlns:iati-extra="http://datastore.iatistandard.org/ns">
<iati-activity default-currency="GBP" iati-extra:dataset="prosperityfund-allocations" >
<iati-identifier>GB-GOV-50-PF-01-BRZ</iati-identifier>
<reporting-org ref="GB-GOV-50" type="10">
<narrative>UK - Prosperity Fund</narrative>
</reporting-org>
<title>
<narrative>Brazil Prosperity Fund Programme</narrative>
</title>
<description type="1">
@stevieflow
stevieflow / 360-downloadURL.csv
Created November 8, 2017 20:20
List of 360 download URL (8 Nov 2017)
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
downloadURL
https://www.arcadiafund.org.uk/wp-content/uploads/2017/07/Arcadia-grants-360Giving-28-Jul-2017.xlsx
https://www.barrowcadbury.org.uk/wp-content/uploads/2017/05/360-Giving-since-2012.xlsx
http://downloads.bbc.co.uk/tv/pudsey/360_giving_data_02102016.xlsx
https://www.biglotteryfund.org.uk/-/media/Files/Research%20Documents/aOpenDataFiles/open_data_2015_2017.xlsx
https://www.biglotteryfund.org.uk/-/media/Files/Research%20Documents/aOpenDataFiles/BLFOpenData_2004_2015_V41.csv
http://www.blagravetrust.org/wp-content/uploads/2017/01/360G-blagravetrust-2016.xlsx
https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/596322/Community_First_Grants_Database_360Giving.csv
http://cheshirecommunityfoundation.org.uk/wp-content/uploads/2017/06/Grants-Awarded-Fiscal-Year-2016.xlsx
http://1vfva1igmeah9lhs11aj1e1d-wpengine.netdna-ssl.com/wp-content/uploads/2017/08/CBT-360-data-Sept-2013-to-July-2017.xlsx
@stevieflow
stevieflow / apods-sample.xml
Created October 5, 2017 07:27
APODS sample
<?xml version="1.0"?>
<apods-projects generated-datetime="2017-10-05T10:45:42Z" version="Autumn 2017">
<apods-project xml:lang="en" default-currency="USD">
<apods-blockchain>81cd02ab7e569e8bcd9317e2fe99f2de44d49ab2b8851ba4a308000000000000</apods-blockchain>
<title>
<narrative>Random Rural Development Project</narrative>
</title>
<description>
<narrative>This project doesn't exist</narrative>
</description>
@stevieflow
stevieflow / namespace-end.xml
Created September 21, 2017 09:20
IATI 2.02 - extension in the end of document
<?xml version='1.0' encoding='UTF-8'?>
<!--This is example XML for the IATI activity standard. No reference to actual data, real organisations or development cooperation models is intended.-->
<!--iati-activities starts-->
<iati-activities generated-datetime="2014-09-10T07:15:37Z" version="2.02" linked-data-default="http://data.example.org/" xmlns:openag="http://openagfunding.readthedocs.io/en/latest/extensions/">
<!--iati-activity starts-->
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2014-09-10T07:15:37Z" humanitarian="1" linked-data-uri="http://data.example.org/123456789" hierarchy="1">
<!--iati-identifier starts-->
<iati-identifier>AA-AAA-123456789-ABC123</iati-identifier>
<!--iati-identifier ends-->
<!--reporting-org starts-->
@stevieflow
stevieflow / namespace-middle.xml
Created September 21, 2017 09:18
IATI 2.02 - extension in the middle of document
<?xml version='1.0' encoding='UTF-8'?>
<!--This is example XML for the IATI activity standard. No reference to actual data, real organisations or development cooperation models is intended.-->
<!--iati-activities starts-->
<iati-activities generated-datetime="2014-09-10T07:15:37Z" version="2.02" linked-data-default="http://data.example.org/" xmlns:openag="http://openagfunding.readthedocs.io/en/latest/extensions/">
<!--iati-activity starts-->
<iati-activity xml:lang="en" default-currency="USD" last-updated-datetime="2014-09-10T07:15:37Z" humanitarian="1" linked-data-uri="http://data.example.org/123456789" hierarchy="1">
<!--iati-identifier starts-->
<iati-identifier>AA-AAA-123456789-ABC123</iati-identifier>
<!--iati-identifier ends-->
<!--reporting-org starts-->
@stevieflow
stevieflow / iati-organisations-xm-dac.xml
Created June 30, 2017 13:29
TEST to model DAC Agency entry using IATI Org standard
<?xml version='1.0' encoding='utf-8'?>
<iati-organisations generated-datetime="2017-06-30T13:15:37Z" version="2.02" xmlns:orgid="http://org-id.guide/#ns">
<iati-organisation default-currency="EUR" last-updated-datetime="2014-09-10T07:15:37Z" xml:lang="en">
<organisation-identifier>XM-DAC-1-1</organisation-identifier>
<name>
<narrative>Federal Ministry of Finance</narrative>
<narrative xml:lang="fr">Ministère fédéral des finances</narrative>
</name>
<reporting-org ref="GB-COH-07676886" type="40" secondary-reporter="0">
<narrative>Publish What You Fund (TEST)</narrative>
Identifier Related Activity Related Activity Description Title Description Currency Amount Awarded Amount Disbursed Award Date Recipient Org: Identifier Recipient Org: Name Recipient Org: Street Address Recipient Org: City Recipient Org: Postal Code Recipient Org: Country Funding Org: Identifier Funding Org: Name Grant Programme: Code Grant Programme: Title Grant Programme: Title (extended) Grant Programme: URL Open Call? Last modified
360G-test-1234 TEST TEST GBP 40000 40000 2014-06-05 360G-test:org-13177 TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST 17/08/15 00:00
360G-test-1234 TEST TEST GBP 38000 0 2014-06-05 360G-test:org-13176 TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST 23/06/15 00:00
{"meta": {"min_value": 3759.51, "pagination": {"offset": 0, "limit": 10000}, "max_value": 98985000.0, "count": 6, "total_value": 99053760.12}, "publisher": {"contactPoint": {"url": "http://ville.montreal.qc.ca/", "faxNumber": "", "email": "villeintelligente@ville.montreal.qc.ca", "name": "Bureau de la Ville Intelligente", "telephone": ""}, "address": {"streetAddress": "275 Rue Notre-Dame Est, Montr\u00e9al", "postalCode": "H2Y1C6", "locality": "Montr\u00e9al", "countryName": "Canada", "region": "QC"}, "name": "Ville de Montr\u00e9al"}, "publishedDate": "2015-11-05T08:15:52.264886", "license": "https://creativecommons.org/licenses/by/4.0/", "publicationPolicy": "http://donnees.ville.montreal.qc.ca/licence-2014/", "uri": "http://ville.montreal.qc.ca/api/releases.json?date_gt=2012-01-01&date_lt=2015-11-30&value_gt=0&value_lt=1000000000&type=contract&order_by=value&order_dir=desc&supplier=degremont-ltee&procuring_entity=comite-executif%3Bconseil-dagglomeration%3Bconseil-municipal%3Bfonctionnaires&activity=Arrondi