Presentation Type
Lightning Talk
Date
2024-11-21
Description
Minting DOIs using an online form can be a time-consuming task for repository librarians. DSpace can mint DOIs for all items in a repository but is not able to do so selectively, which is an issue in an institutional repository containing a mixture of original materials (dissertations, reports, data, etc.) and previously published materials such as journal articles and preprints. An institutional repository librarian and her librarian colleague with Python experience embarked on a pair programming project to create a script to mint DOIs on demand in DataCite for individual items in the institution’s Open Repository instance using the APIs from both platforms. The pair met for one hour each week to develop and test the script. The institutional repository librarian lent invaluable insight into both platforms and the metadata variations the code would need to account for. The project was also a great learning opportunity for both librarians to improve their Python coding skills. This project was evaluated in terms of how the time spent creating the code compares to the time it takes to mint DOIs manually as well as metadata enhancements and accuracy in DataCite. This presentation will share the final Python script and highlight the takeaways from this approach for both the institutional repository librarian and the coding librarian. We will also share forthcoming changes to the script due to the repository’s planned upgrade to the DSpace 7 version of Open Repository.
Keywords
institutional repositories, MIRL, session 3
Repository Citation
Grynoch, Tess and Palmer, Lisa, "Using Python to mint DOIs on demand for a DSpace Repository" (2024). Medical Institutional Repositories in Libraries (MIRL) Symposium. 12.
https://scholarlycommons.henryford.com/mirl/2024/program/12
Using Python to mint DOIs on demand for a DSpace Repository
Minting DOIs using an online form can be a time-consuming task for repository librarians. DSpace can mint DOIs for all items in a repository but is not able to do so selectively, which is an issue in an institutional repository containing a mixture of original materials (dissertations, reports, data, etc.) and previously published materials such as journal articles and preprints. An institutional repository librarian and her librarian colleague with Python experience embarked on a pair programming project to create a script to mint DOIs on demand in DataCite for individual items in the institution’s Open Repository instance using the APIs from both platforms. The pair met for one hour each week to develop and test the script. The institutional repository librarian lent invaluable insight into both platforms and the metadata variations the code would need to account for. The project was also a great learning opportunity for both librarians to improve their Python coding skills. This project was evaluated in terms of how the time spent creating the code compares to the time it takes to mint DOIs manually as well as metadata enhancements and accuracy in DataCite. This presentation will share the final Python script and highlight the takeaways from this approach for both the institutional repository librarian and the coding librarian. We will also share forthcoming changes to the script due to the repository’s planned upgrade to the DSpace 7 version of Open Repository.