In OpenAIRE/oai_datacite export, when the user chooses author affilitation that includes a ROR, add ROR information and use organization's name instead of ROR URL
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
Overview of the Feature Request
When Dataverse includes a ROR with the author affiliation that the user chose, the OpenAIRE/oai_datacite export should include the affiliationIdentifier, schemeURI, and affiliationIdentifierScheme properties of the the creator affiliation property, and should use the organization's name (not the ROR URL) as the value of the affiliation property. The DataCite/Datacite export does this.
This issue is part of a larger effort to align both metadata exports, described in https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.
What kind of user is the feature intended for?
API User, Superuser, and Sysadmin
What inspired the request?
This is part of a larger effort to align the OpenAIRE/oai_datacite and DataCite/Datacite metadata exports. There is more context at https://github.com/IQSS/dataverse/issues/11916 and https://github.com/IQSS/dataverse/issues/12281.
What existing behavior do you want changed?
Currently, when Dataverse includes a ROR with the author affiliation that the user chose, the DataCite/Datacite export includes affiliationIdentifier, schemeURI, and affiliationIdentifierScheme and uses the organization's name as the affiliation property's value. For example:
<affiliation
affiliationIdentifier="https://ror.org/03vek6s52"
schemeURI="https://ror.org"
affiliationIdentifierScheme="ROR">Harvard University
</affiliation>
The OpenAIRE/oai_datacite export omits affiliationIdentifier, schemeURI, and affiliationIdentifierScheme and uses the ROR URL as the property value instead. For example:
<affiliation>https://ror.org/03vek6s52</affiliation>
The OpenAIRE/oai_datacite export should be changed to include affiliationIdentifier, schemeURI, and affiliationIdentifierScheme, and to use the organization's name as the property value, matching the behavior of the DataCite/Datacite export.
Any open or closed issues related to this feature request?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the OpenAIRE/oai_datacite export with the DataCite/Datacite export, focusing on creator affiliation handling. Trace the export entry points and any related tests, then verify that ROR affiliations emit the three requested attributes and the organization name as the element value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100