You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note - my guess is that this may further complicate how we split - although my assumption is that we only every split on each instant of recipientcountry and recipientregion, and so the extra data around vocabulary and narrative would not create new segments
This is a many to one issue - there can be multiple entries for the different vocabs for location.
Hence why sector in the trans_breakdown table only shows 5 digit dac codes, even if an internal sector vocab is also used.
I don't think this is practical unless we have a specific use case as we've discussed it before and it could grow and grow.
This activity: https://d-portal.org/q.xml?aid=XM-DAC-47066-CD.0033
Has the recipient-region:
This is stored in the recipientregion table: https://datasette.tables.iatistandard.org/iati/recipientregion?_sort=rowid&iatiidentifier__exact=XM-DAC-47066-CD.0033 - with vocabulary
In transaction_breakdown however, there is no region_vocabulary, so this data is lost, and it appears that this transaction has no geographic nature:
https://datasette.tables.iatistandard.org/iati/transaction_breakdown?_sort=rowid&iatiidentifier__exact=XM-DAC-47066-CD.0033
This activity: https://d-portal.org/q.xml?aid=XM-DAC-41122-EAPRO,%20Thailand-420R/A0/10/777/001
Has:
Stored in recipientcountry: https://datasette.tables.iatistandard.org/iati/recipientcountry?_sort=rowid&iatiidentifier__exact=XM-DAC-41122-EAPRO%2C+Thailand-420R%2FA0%2F10%2F777%2F001 - note, no code, but there is a narrative and a percentage
and
Stored in recipientregion: https://datasette.tables.iatistandard.org/iati/recipientregion?_sort=rowid&iatiidentifier__exact=XM-DAC-41122-EAPRO%2C+Thailand-420R%2FA0%2F10%2F777%2F001 - again, no code, but there is a narrative and a percentage
However, for transaction_breakdown all the geographic data that is there is missing
https://datasette.tables.iatistandard.org/iati/transaction_breakdown?_sort=rowid&iatiidentifier__exact=XM-DAC-41122-EAPRO%2C+Thailand-420R%2FA0%2F10%2F777%2F001
Proposal
For transaction_breakdown include columns for:
Note - my guess is that this may further complicate how we split - although my assumption is that we only every split on each instant of recipientcountry and recipientregion, and so the extra data around vocabulary and narrative would not create new segments
@IATI/devs cc/ @IsabelBirds @siwhitehouse
The text was updated successfully, but these errors were encountered: