-
Notifications
You must be signed in to change notification settings - Fork 500
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
Add Backend Support for Changing Citation Date #2606
Comments
@scolapasta @posixeleni |
A backend has been added for this - as well as an API call: PUT -d $datasetFieldTypeName http://$SERVER/api/datasets/$id/citationdate?key=$apiKey this will allow users with Publish Dataset permission to set. |
Once 4.3 is released what is our plan for fixing the citation dates for all of IFPRI's datasets? @sbarbosadataverse @scolapasta |
@posixeleni I can see some docs at the top of https://github.com/IQSS/dataverse/pull/3000/files if that helps. @scolapasta would know for sure. |
Sorry should have clarified if there will be a way to do a batch change for all of IFPRI's data citation dates. |
Well, given that the (proposed, not merged yet) solution is an API endpoint, this means a script could be written for a batch change. |
Yes, @pdurbin is correct, all we would need is to get the list of the datasets that need to use this, then run the API for each. Could be written as a script. |
Tested both put, delete, distributionDate and publicationDate, draft and published (does not create a new draft), with publish and without publish permission. Works, closing. |
added backend support for alternate citation dates #2606
In order to support #2297 we will be building in backend support in the database to point to allow users the flexibility to use a different date in the citation other than the default dataset publication date.
We will also apply this update to the following two Dataverses:
Use Distribution Date in the citation for IFPRI Dataverse https://dataverse.harvard.edu/dataverse/IFPRI ( @sbarbosadataverse will confirm if this is for their entire Dataverse or for only a subset)
Use Distribution Date in the citation for Murray
The text was updated successfully, but these errors were encountered: