This branch adds a Jupyter Notebook for use in aiding the process of performing bulk updates across many DataCite JSON labels. The notebook as-is serves as a guide/template for querying a batch of records, modifying them (either on disk as a JSON label, or in-memory as parsed Doi objects) and finally committing them back to either the local transaction database or DataCite itself. The notebook is intended to be modified by users as-needed to perform the specific batch update required.
Additionally, this branch makes a few modifications to the core DOI service library to make bulk record updates more feasible. These changes include:
Simplification of the command-line interface for the reserve, update and release actions so more arguments may be optional.
Support for mapping node ID long names back to short names, so a node ID may be determined from the "contributors" field of a DOI record
Addition of an "Unknown" node ID for tagging records where no node ID can be determined.
Modification of the release action to utilize any event field already present in a parsed DOI record. This was done to facilitate batch updates of records in DataCite without having to actually release all records to the Findable state.
⚙️ Test Data and/or Report
No updates to unit tests made by this branch.
tox.log
🗒️ Summary
This branch adds a Jupyter Notebook for use in aiding the process of performing bulk updates across many DataCite JSON labels. The notebook as-is serves as a guide/template for querying a batch of records, modifying them (either on disk as a JSON label, or in-memory as parsed
Doi
objects) and finally committing them back to either the local transaction database or DataCite itself. The notebook is intended to be modified by users as-needed to perform the specific batch update required.Additionally, this branch makes a few modifications to the core DOI service library to make bulk record updates more feasible. These changes include:
⚙️ Test Data and/or Report
No updates to unit tests made by this branch. tox.log
♻️ Related Issues
Resolves #257