IQSS / IQSS/dataverse

For some datasets' dataverse_json exports, there is no `citationDate` key showing what the dataset's citation date is

Open
#12,315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: API Feature: Metadata Type: Bug
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

What steps does it take to reproduce the issue?

  • When does this issue occur?
    When looking at the dataverse_json exports of some datasets

  • Which page(s) does it occurs on?
    In the dataverse_json exports of some datasets, but not all datasets

  • What happens?
    In the dataverse_json exports of some datasets, there is no citationDate key showing what the dataset's citation date is. For example, see the dataverse_json export of the dataset at https://doi.org/10.7910/DVN/PZBQTD:

    Image

    In the datasetVersion key, there should be a citationDate key, but there isn't. For datasets where there is a citationDate key, I've seen it right below the publicationDate key, like the part in orange in the screenshot below.

  • To whom does it occur (all users, curators, superusers)?
    All users, curators, superusers

  • What did you expect to happen?
    In the dataverse_json export of the dataset, the datasetVersion key should include a citationDate key, like there is in the dataverse_json export of the dataset at https://doi.org/10.7910/DVN/5KLDV6:

    Image

Which version of Dataverse are you using?
v6.9 (on Harvard Dataverse)

Any related open or closed issues to this bug report?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the two linked dataverse_json export responses for the affected dataset and the dataset that includes citationDate, then review related issues 9656 and 12316. Done means the datasetVersion object in exports includes a citationDate key for datasets currently missing it, without removing it from datasets where it already appears.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.