DataCite How To: Use the MDS

21
How to use the DataCite Metadata Store (MDS) TIB, Hannover Frauke Ziedorn

description

How to use DataCite's Metadata Store (MDS) via UI or API. With lots of screenshots for easy understanding.

Transcript of DataCite How To: Use the MDS

Page 1: DataCite How To: Use the MDS

How to use the DataCite Metadata Store (MDS)

TIB, HannoverFrauke Ziedorn

Page 2: DataCite How To: Use the MDS

Use of MDS

Register a dataset Update a dataset Upload metadata file Find my dataset

Register many datasets Update many datasets Upload many metadata files Retrieve a metadata file

„Single” operations – use UI

Bulk operations – use API

Page 3: DataCite How To: Use the MDS

Single operations

UI(User Interface)

Page 4: DataCite How To: Use the MDS

As a datacentre, I would like to register one of my datasets.I know the URL of the landing page and DOI name I want to assign to the datasets.I also have a valid XML file with the metadata to my dataset according to DataCite's standards.

Story: Register a dataset

Page 5: DataCite How To: Use the MDS

Use web interface:

Result: A DOI will be minted and a record in Metadata Store created.

Implementation: Register a dataset

Page 6: DataCite How To: Use the MDS

As a datacentre, I registered a dataset and I now want to find it in the Metadata Store.

Story: Find my dataset

Page 7: DataCite How To: Use the MDS

or

Implementation: Find my dataset

Page 8: DataCite How To: Use the MDS

As a datacentre, I registered my dataset but I now want to change the URL of its landing page.

Story: Update a dataset

Page 9: DataCite How To: Use the MDS

Find dataset and edit it:

Implementation: Update a dataset

Page 10: DataCite How To: Use the MDS

As a datacentre, I had already registered my dataset and now I want to update the metadata file.

Story: Update metadata file

Page 11: DataCite How To: Use the MDS

Implementation: Update metadata file

Page 12: DataCite How To: Use the MDS

Bulk operations

API(Application Programming

Interface)

Page 13: DataCite How To: Use the MDS

API

• RestFul API• HTTPS with Basic Authentication• Full documentation:

https://mds.datacite.org/static/apidoc

Page 14: DataCite How To: Use the MDS

Example API Calls

Upload Metadata:

Mint or Update a DOI:curl -u USER.NAME -d "url=http://example.com" -d "doi=10.01234/foobar" https://mds.datacite.org/doi

curl -u USER.NAME -H "Content-Type: application/xml" --data-binary @metadata.xml https://mds.datacite.org/metadata

Page 15: DataCite How To: Use the MDS

remember setting appropriate headers: Accept=application/xml Content-Type=application/xml

Pay attention to the response codes – they mean what they say! Additional message can be included in the

response body e.g. Response code: 403 Forbidden response body: user quota exceeded

Little things matter

Page 16: DataCite How To: Use the MDS

DOI names

• Prefix is defined by DataCite• Suffix is defined by data center• Opaque string• Characters for a DOI name:

A – Za – z0 – 9: (colon). (full-stop)- (hyphen)_ (underscore)/ (slash)

No umlauts or special characters!http://www.tib-hannover.de/fileadmin/informationsmaterial/flyer/TIB_DOI_Service_DOKU_ENG.pdf

Page 17: DataCite How To: Use the MDS

• You may only use prefixes and domains assigned to your account.

• It may be that you have a DOI quota. Once this is fulfilled you cannot register any more DOIs.

Restrictions

Page 18: DataCite How To: Use the MDS

• The Handle System – the technical infrastructure for DOIs – is a distributed network system.

• Newly minted DOIs should be resolvable after about 5 minutes.

• Updates to DOIs can take up to 24 hours before being distributed through the whole Handle system.

It’s distributed – be aware of latency!

Page 19: DataCite How To: Use the MDS

Persistency:You cannot delete DOIs!

• A DOI is a persistent identifier so removing it would go against the idea.

•It’s still possible to deaccesses a dataset, but this should be noted on the DOI‘s landing page.

• A DOI should always resolve to a landing page where metadata and information on how to access the dataset are given.

Page 20: DataCite How To: Use the MDS

DataCite has a whole test environment where all services can be tested:http://test.datacite.org

Resolver for test DOIs: http://dx.test.datacite.org

Test Environment

Page 21: DataCite How To: Use the MDS

The DataCite Members