In OpenAIRE/oai_datacite export, add what user enters in Time Period field to the date property
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 a user enters dates in the Citation metadata block's Time Period field, the OpenAIRE/oai_datacite export should include those dates in the date property, as the DataCite/Datacite export already does. Currently, the OpenAIRE/oai_datacite export does not include what users enter in the Time Period field.
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, the DataCite/Datacite export includes what the user enters in the Citation metadata block's Time Period field in the date property. For example:
<date
dateType="Other"
dateInformation="Time period covered by the data">2000-04-01/2000-05-01
</date>
<date
dateType="Other"
dateInformation="Time period covered by the data">2000-05-02/null
</date>
<date
dateType="Other"
dateInformation="Time period covered by the data">null/2000-05-03
</date>
The OpenAIRE/oai_datacite export does not include the Time Period field.
The OpenAIRE/oai_datacite export should be changed to include the Time Period field in the date property in the same way that the DataCite/Datacite export does.
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
Compare the OpenAIRE/oai_datacite implementation with the existing DataCite/Datacite export, following how the Citation metadata block's Time Period value reaches the date property. Add matching handling for closed, open-ended, and open-start ranges, and verify that the generated XML matches the examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100