Published April 11, 2025 | Version v0.9
Software Open

Dataverse API scripts

Authors/Creators

  • 1. Utrecht University

Description

This repository currently contains 2 Jupyter notebooks that interact with the Harvard Dataverse Native API using Python and the requests module. One generates Dataverse-compliant metadata and creates new datasets in a specified dataverse. The other retrieves DOIs, dataset IDs and file IDs, attempts to restrict the file IDs, publishes a new version of the dataset, and deaccessions v1.0 of the dataset. The file restriction does not work due to (I think!) a limitation in the Dataverse API.

Notes

Scripts to upload data to Dataverse, retrieve information about datasets and deaccession datasets in Harvard Dataverse with Python and requests

Files

DorienHuijser/dataverse-api-scripts-v0.9.zip

Files (60.3 kB)

Name Size Download all
md5:cca534546055f635d1b502bdd1cd7d08
60.3 kB Preview Download

Additional details

Related works