Query the DataCite REST API for the dataset DOI, map its creator, title, publisher, date, version, and identifier fields into the NLM dataset citation structure, then compare the result field by field with the repository record.
- Query the DataCite REST API for the dataset DOI and open the returned metadata record. Confirm the DOI in the response matches the DOI you intend to cite; if it does not, stop and re-check the identifier before formatting.
- Map each required element to its NLM slot: creator to author, title to title, publisher to publisher, date to date, version to the version statement, and identifier to the DOI. Citing Medicine provides the structured rules and examples for dataset citations, so follow its element order and punctuation for the dataset type.
- Compare every mapped field against the repository's own record for the dataset. Where the two disagree, note which value each source supplies and resolve the discrepancy before finalizing the citation.
- Format the citation with the verified fields and keep the DOI as the persistent identifier in the entry.
DataCite's REST API exposes DOI metadata and supports queries and filters across works, repositories, providers, clients, and related entities, which is why it is the retrieval point for this task. Crossref also exposes deposited metadata through its works routes, and a DOI lookup there returns the metadata deposited for that DOI; use it as a cross-check when a dataset DOI also has a Crossref deposit. The repository record remains the place to confirm the fields you will print.
