Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I delete specific datafile #152

Open
wybert opened this issue Oct 27, 2022 · 2 comments
Open

How can I delete specific datafile #152

wybert opened this issue Oct 27, 2022 · 2 comments
Labels
status:incoming Newly created issue to be forwarded type:feature New feature

Comments

@wybert
Copy link

wybert commented Oct 27, 2022

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

@wybert wybert added status:incoming Newly created issue to be forwarded type:feature New feature labels Oct 27, 2022
@pdurbin
Copy link
Member

pdurbin commented Oct 28, 2022

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
Copy link
Author

wybert commented Oct 31, 2022

Cool, we want update our data set through PyDataverse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:incoming Newly created issue to be forwarded type:feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants