Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Move from DOI to DataCite #1237

Closed
carolyncole opened this issue Apr 18, 2018 · 11 comments
Closed

Move from DOI to DataCite #1237

carolyncole opened this issue Apr 18, 2018 · 11 comments

Comments

@carolyncole
Copy link
Contributor

carolyncole commented Apr 18, 2018

Switch the API from EZID to Datacite. Should be done by the end of 2018. Replace the EZID gem with the DataCite gem and make any necessary changes.

@carolyncole carolyncole added this to the ScholarSphere 3.7 milestone Apr 18, 2018
@awead
Copy link
Contributor

awead commented May 30, 2018

We will need to verify which gem we'll need to user. @olendorf will do this, then we can point the ticket.

@awead awead added the High label May 30, 2018
@carolyncole
Copy link
Contributor Author

@olendorf do you have any idea which gem we would switch.

@carolyncole
Copy link
Contributor Author

https://support.datacite.org/docs/datacite-ez-api-guide Is this the location?

@carolyncole
Copy link
Contributor Author

Add processes for migrating the old IDs from the EZID system.

@carolyncole
Copy link
Contributor Author

carolyncole commented Oct 29, 2018

We are waiting on purchasing for the real license key. It can take about a month to get the real key, so this may need to be updated after the sprint is complete.

@olendorf will ask for early sandbox access for testing.

@awead awead self-assigned this Nov 2, 2018
@awead
Copy link
Contributor

awead commented Nov 2, 2018

Based on this link: https://support.datacite.org/docs/datacite-ez-api-guide#section-how-to-use
We can continue to use the same ezid-client gem we've been using. Is this right @olendorf ?

@awead
Copy link
Contributor

awead commented Nov 2, 2018

@olendorf word on the street is that we can, and should: duke-libraries/ezid-client#83

@carolyncole
Copy link
Contributor Author

We need a switch to be able to use ezid, or turn it off completely, or use the new datacite.

@carolyncole
Copy link
Contributor Author

@olendorf Were you able to get the mapping from our resource Types to the new DataCite types? We know that Image does work and book does not work, but are not certain of the other types.

@carolyncole
Copy link
Contributor Author

Here are a list of the ResourceTypes from DataCite: https://schema.datacite.org/meta/kernel-4.1/doc/DataCite-MetadataKernel_v4.1.pdf

Audiovisual, Collection, DataPaper, Dataset, Event, Image, InteractiveResource, Model, PhysicalObject, Service, Software, Sound, Text, Workflow, Other

Here is the mapping that will need to be updated: https://github.com/psu-stewardship/scholarsphere/blob/develop/app/services/doi_service.rb#L6

@olendorf
Copy link

@Cam156 Looks like only the book needs to change. I just set it to text. I put the datacite value in parenthesis below.

EZID_RESOURCE_TYPES = {
'Article' => 'Text', (Text)
'Audio' => 'Sound', (Sound)
'Book' => 'Book', (Text)
'Capstone Project' => 'Text', (Text)
'Conference Proceeding' => 'Text', (Text)
'Dataset' => 'Dataset', (Dataset)
'Image' => 'Image', (Image)
'Journal' => 'Text', (Image)
'Map or Cartographic Material' => 'Image', (Image)
'Part of Book' => 'Text', (Text)
'Poster' => 'Audiovisual', (Audiovisual)
'Presentation' => 'Audiovisual', (Audiovisual)
'Project' => 'Other', (Other)
'Report' => 'Text', (text)
'Research Paper' => 'Text', (Text)
'Software or Program Code' => 'Software', (Software)
'Video' => 'Audiovisual', (Audiovisual)
'Other' => 'Other' (other)
}.freeze

@carolyncole carolyncole self-assigned this Feb 4, 2019
carolyncole added a commit that referenced this issue Feb 7, 2019
In addition we will capture any errors with DOI creation and log them as an event

refs #1237
carolyncole added a commit that referenced this issue Feb 7, 2019
In addition we will capture any errors with DOI creation and log them as an event

refs #1237
carolyncole added a commit that referenced this issue Feb 7, 2019
In addition we will capture any errors with DOI creation and log them as an event

refs #1237
carolyncole added a commit that referenced this issue Feb 7, 2019
In addition we will capture any errors with DOI creation and log them as an event

refs #1237
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants