pyDataverse icon indicating copy to clipboard operation
pyDataverse copied to clipboard

How can I delete specific datafile

Open wybert opened this issue 3 years ago • 2 comments

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

wybert avatar Oct 27 '22 05:10 wybert

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:

  • #140

How can I replace a data file?

This PR suggests that replacing data files is possible:

  • #149

pdurbin avatar Oct 28 '22 00:10 pdurbin

Cool, we want update our data set through PyDataverse

wybert avatar Oct 31 '22 13:10 wybert