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

Add Backend Support for Changing Citation Date #2606

Closed
posixeleni opened this issue Sep 29, 2015 · 8 comments
Closed

Add Backend Support for Changing Citation Date #2606

posixeleni opened this issue Sep 29, 2015 · 8 comments
Assignees
Milestone

Comments

@posixeleni
Copy link
Contributor

posixeleni commented Sep 29, 2015

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:

  1. 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)

  2. Use Distribution Date in the citation for Murray

@sbarbosadataverse
Copy link

@scolapasta @posixeleni
FYI that IFPRI requested an update on this today and I have sent them this issue number

@mercecrosas mercecrosas modified the milestones: 4.3, In Review Nov 30, 2015
@scolapasta scolapasta modified the milestones: 4.3, Not Assigned to a Release Jan 21, 2016
@scolapasta scolapasta removed this from the 4.3 milestone Feb 26, 2016
@scolapasta scolapasta removed their assignment Feb 26, 2016
@scolapasta scolapasta added this to the 4.3 milestone Feb 26, 2016
@scolapasta scolapasta self-assigned this Feb 26, 2016
@scolapasta
Copy link
Contributor

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.

@posixeleni
Copy link
Contributor Author

Once 4.3 is released what is our plan for fixing the citation dates for all of IFPRI's datasets? @sbarbosadataverse @scolapasta

@pdurbin
Copy link
Member

pdurbin commented Mar 8, 2016

@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.

@posixeleni
Copy link
Contributor Author

Sorry should have clarified if there will be a way to do a batch change for all of IFPRI's data citation dates.

@pdurbin
Copy link
Member

pdurbin commented Mar 8, 2016

Well, given that the (proposed, not merged yet) solution is an API endpoint, this means a script could be written for a batch change.

@scolapasta
Copy link
Contributor

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.

@kcondon
Copy link
Contributor

kcondon commented Mar 8, 2016

Tested both put, delete, distributionDate and publicationDate, draft and published (does not create a new draft), with publish and without publish permission. Works, closing.

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

No branches or pull requests

7 participants