[feature] Delete data values that belong to given data elements#95
Open
nshandra wants to merge 8 commits intodevelopmentfrom
Open
[feature] Delete data values that belong to given data elements#95nshandra wants to merge 8 commits intodevelopmentfrom
nshandra wants to merge 8 commits intodevelopmentfrom
Conversation
Contributor
I'm getting: Is there something I'm missing?
thanks! |
Contributor
Author
|
@MiquelAdell Regarding the Sorry for that. |
MiquelAdell
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 References
Issue: create (or reuse) a script to delete all data for a list of data elements for all periods and org units
📝 Implementation
Bulk delete data values that belong to the DEs in the provided CSV. This file is expected to be single column with header id.
It splits the provided DEs in chunks of 200 (to not hit the url limit), retrieves
limitamount of dataValues and posts them with DELETE strategy. Repeats untill no more data is retrieved and starts with the next DEs block.The deleted values can be optionally stored in backup files.
#869bxqbjw