coderaanalytics / econdatar

R package for uploading and downloading data to/from www.econdata.co.za
MIT License
6 stars 2 forks source link

Add method `write_registry(..., method="delete")` #29

Open byrongibby opened 6 months ago

byrongibby commented 6 months ago

This method should

  1. Require user confirmation (automation discouraged)
  2. Message the user with a list of referenced structures that would also be deleted to avoid missing references.
  3. Prevent deletion of structures that are required to construct any existing data set schemas (this rule should also be enforced for updating). Message the user that deletion would possibly lead to data corruption and encourage the user to increment the structure version instead (or first manually delete the related data sets).