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

Sector filter only looks at `iati-activity/sector@code`, not `iati-activity/transaction/sector@code` #284

Closed andylolz closed 6 years ago

andylolz commented 7 years ago

This issue was recently fixed in d-portal (see this discuss post) but still exists in the datastore.

So for instance, let’s compare USAID activities (US-GOV-1) in Liberia (LR) with sector code 31110 (Agricultural policy and administrative management).

On d-portal (44 activities, at time of writing): https://d-portal.org/ctrack.html?search&country=LR&publisher=US-GOV-1&sector_code=31110#view=main

On the datastore (0 activities): http://datastore.iatistandard.org/api/1/access/activity.xml?recipient-country=LR&reporting-org=US-GOV-1&sector=31110

The sector code is at the transaction level, and while d-portal is picking this up, the datastore is not.