The datastore documentation says the sector filter works by DAC 5-digit sectors. However, that’s not the case. It’s apparent that vocabularies are ignored, so all sector vocabs are treated uniformly. This is sort of an undocumented feature, but could also result in false positives.
To fix the bug:
any sector elements that have the vocabulary attribute set and not equal to 1 (i.e. DAC 5-digit) should be ignored.
To add the feature:
it should also be possible to filter by sector vocabulary.
This issue was raised in a comment from @hayfield on IATI discuss.
The datastore documentation says the sector filter works by DAC 5-digit sectors. However, that’s not the case. It’s apparent that vocabularies are ignored, so all sector vocabs are treated uniformly. This is sort of an undocumented feature, but could also result in false positives.
To fix the bug:
any sector elements that have the
vocabulary
attribute set and not equal to 1 (i.e. DAC 5-digit) should be ignored.To add the feature:
it should also be possible to filter by sector vocabulary.