gdcc / pyDataverse

Python module for Dataverse Software (dataverse.org).
http://pydataverse.readthedocs.io/
MIT License
64 stars 45 forks source link

How can I delete specific datafile #152

Open wybert opened 1 year ago

wybert commented 1 year ago

How can I delete specific datafile? How can I replace a data file?

pdurbin commented 1 year ago

How can I delete specific datafile?

I don't believe it's currently supported by pyDataverse. You'd need to use the SWORD API. Please see https://guides.dataverse.org/en/5.12/api/sword.html#delete-a-file-by-database-id and this issue:

How can I replace a data file?

This PR suggests that replacing data files is possible:

wybert commented 1 year ago

Cool, we want update our data set through PyDataverse