Capture the doctype value from the Ingest Parser output in the tagged records as (per @csgrant00)
Required changes in the _get_properties function in the translator.py module:
- Add:
doctype = self.data.get('doctype', None)
- 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.
Capture the
doctypevalue from the Ingest Parser output in the tagged records as (per @csgrant00)Required changes in the _get_properties function in the
translator.pymodule:doctype = self.data.get('doctype', None)To properly capture
datasetdoctype for DataCite records, the value forDatasetneeds to be changed frommisctodatasethereThis update is to support the ingest of Zenodo records and be able to attribute the appropriate publication type.