Skip to content

capture doctype in tagged records #68

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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