Deprecating a Data Package
Deprecation enables data authors to discourage the continued use of a data package, in favor of a better alternative. It's typically applied when data issues cannot be resolved through a data package update, or when maintenance of a data package has moved to a new data package series.
Deprecation involves posting a prominent notification of the change and removal of the data package from the EDI search index. This "soft delete" hides the data package from new potential users but keeps it accessible to existing users that already have a direct link (e.g. DOI). In essence, this discourages use while preserving the persistence and immutability required by Open Data and Reproducible Research.
Note, only under extreme circumstances do we completely remove a data package from existence. Such situations are handled carefully on a case-by-case basis.
Step 1 - Notify users about the deprecation
Notify users about the deprecation by adding "DEPRECATED" in both the title and abstract of the data package metadata. Also, in the first paragraph of the abstract, describe the reasons for the change and any links to superseding data packages. Our support of Markdown in title and abstract text provides some liberty with sizing and formatting (e.g., bold).
Tip: Use the Metadata Previewer to see how the changes will render in the EDI Portal before publishing.
An example data package deprecation notice:
Once the metadata edits are complete, the changes will have to be uploaded via data package update.
Step 2 - "Soft delete" the data package
Execute a "soft delete" of the data package. Any data package owner can perform this operation using curl or another HTTP-based application that can send a "DELETE" request. The delete method is described in the API documentation. Note that the entire series will be "soft deleted", so use only the data package scope and identifier in the DELETE request. For example the command
curl --user 'uid=NES,o=EDI,dc=edirepository,dc=org:<PASSWORD>' -X DELETE 'https://pasta.lternet.edu/package/eml/knb-lter-nes/7'
will "soft delete" all data package revisions in the knb-lter-nes.7 series.
Please contact us if you need help deleting a data package.