gdcc / easyDataverse

🪐 - Lightweight Dataverse interface in Python to upload, download and update datasets found in Dataverse installations.
MIT License
15 stars 4 forks source link

Use `editMetadata` endpoint for dataset updates #21

Closed JR-1991 closed 5 months ago

JR-1991 commented 5 months ago

Overview

This PR changes the endpoint usage for the update-method to use the editMetadata endpoint instead of a complete metadata reset. This way, only the actual changes are pushed while keeping those that have not changed untouched. Due to the functionality of editMetadata, multiple compounds need to be updated completely once a single one has changed.

TLDR