IATI / IATI-Datastore

An open-source datastore for IATI data with RESTful web API providing XML, JSON, CSV plus ETL tools
http://datastore.iatistandard.org/
Other
1 stars 0 forks source link

How should the datastore handle hierarchies? #209

Closed Bjwebb closed 3 years ago

markbrough commented 10 years ago

I think it should allow you to add an argument / filter which has the effect of obtaining all of the parent and/or child activities of the set of activities that you selected through your other filters.

For example, at the moment, to get all DFID activities in a particular country, you have to query for that country, which will return only hierarchy=2 activities, and then query for the iati-identifier in each activity in the file separately. Hierarchy=1 activities contain really interesting information like project documents.