Getting Crossref metadata into a TSV file for batch import in DSpace in Simple Archive Format (SAF)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Get and process CrossRef data via API

Get metadata from the CrossRef API and use it to populate records in DSpace.


The script starts from a tab delimited file downloaded from Web of Science. It assumes the following fields are present in the file:

  • AF - Author
  • TI - Title
  • DE - Author Keywords
  • ID - Keywords Plus
  • AB - Abstract
  • DI - DOI -- used for the CrossRef lookup


The DOI from the Web of Science file is used to get an APA style citation from Then the JSON record from the CrossRef API is fetched as JSON. The Python Habenero module is used to access the API.

Metadata is extracted from the JSON data for the following metadata fields:

  • dc.publisher
  • dc.type
  • dc.identifier.uri
  • dc.description.sponsorship
  • dc.rights.uri
  • dcterms.bibliographicCitation
  • uws.contributor.affiliation (uws is a local metadata namespace)

The output tab delimited data also includes, from the CrossRef data, the fields ISSN and Journal_Name to help in determining copyright and embargo status of items.