Skip to content

capture doctype in tagged records #68

@ehenneken

Description

@ehenneken

Capture the doctype value from the Ingest Parser output in the tagged records as (per @csgrant00)

%I DOCTYPE:dataset

Required changes in the _get_properties function in the translator.py module:

  1. Add: doctype = self.data.get('doctype', None)
  2. Add:
        if doctype:
            props['DOCTYPE'] = doctype

To properly capture dataset doctype for DataCite records, the value for Dataset needs to be changed from misc to dataset here

This update is to support the ingest of Zenodo records and be able to attribute the appropriate publication type.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions