Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipient Country and Recipient Region elements related issues #181

Open
3 of 4 tasks
77karuna opened this issue Oct 3, 2018 · 1 comment
Open
3 of 4 tasks

Recipient Country and Recipient Region elements related issues #181

77karuna opened this issue Oct 3, 2018 · 1 comment
Assignees
Labels

Comments

@77karuna
Copy link
Collaborator

77karuna commented Oct 3, 2018

  • recipient-country > percentage attribute and recipient-region > percentage attribute are not required when single recipient-country or recipient-region are specified.
    Multiple countries and regions can be reported, in which case the percentage attribute MUST be used to specify the share of total commitments across all reported countries and regions.
    <recipient-country code="AF" /> This is valid
  • recipient-country > percentage attribute
    When multiple recipient-country are declared, then the @percentage values should sum to 100% per country for the specific iati-activity
  • recipient-region > percentage attribute
    When multiple recipient-region are declared, then the @percentage values should sum to 100% per region vocabulary for the specific iati-activity
  • recipient-country > percentage + recipient-region > percentage attribute
    When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity.
<recipient-country code="AF" percentage="50" />
<recipient-region code="489" vocabulary="1" percentage="50" />
@77karuna 77karuna added the bug label Oct 3, 2018
@77karuna 77karuna changed the title Recipient Country and Recipient Region related issues Recipient Country and Recipient Region elements related issues Oct 3, 2018
@77karuna 77karuna added this to the Milestone - May 1 milestone May 6, 2019
@manibibek manibibek removed this from the Milestone - May 1 milestone May 13, 2019
@77karuna 77karuna added this to the Milestone - May 2 milestone May 20, 2019
@manibibek manibibek removed this from the Milestone - May 2 milestone May 29, 2019
@amy-silcock
Copy link
Collaborator

amy-silcock commented Jan 13, 2020

Hi,

Where has this issue got to in development? It would great to see the last bullet point implemented:

  • recipient-country > percentage + recipient-region > percentage attribute. When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity.

There's one change to the methodology needed. It should be:

When both the recipient-region and recipient-country, then the @percentage values should sum to 100% for the specific iati-activity, per region vocabulary.

For example this is correct, as each region vocabulary gets treated separately.

<recipient-country code="AF" percentage="50" />
<recipient-region code="489" vocabulary="1" percentage="50" />
<recipient-region code= "111" vocabulary="99" percentage="50" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants