Intern:Versioning

When can a dataset be corrected, edited or rewritten without a new version?
Datasets without a registered DOI
 * Any change of data or metadata including deletion is possible.
 * Exception: datasets connected to articles with a public review (e.g. ESSDD) which link to the dataset in review (=> keep a copy of in-review-version and link it as a reference in the updated version).
 * The changes are not registered in the dataset history.

Datasets with a registered DOI
 * These data sets can never be deleted.
 * Small changes, especially those intended for metadata enrichment, leading to an improved FAIRness, are possible:
 * Typos in authors, title, abstract. Document the changes in the.
 * Adding/correcting information to Events. If this information can have impact on interpretation, e.g. correcting Latitude, Longitude, Date/Time,..., document the changes in the.
 * Adding / correcting keywords is possible.
 * Correcting parameters: If this information can have impact on interpretation, e.g. units, document the changes in the.
 * Adding / correcting references is possible. Usually no need to document it in the.
 * Adding projects & awards is possible.


 * If the data were password protected, also changes to datasets can be done
 * Corrections in data series (e.g. recalculation of series due to wrong factor (cm->m, a ->ka, ...) or other "small" and traceable changes if necessary, are possible. Always document such changes in the.

When to archive a new version?
For other cases (major change in DOI-registered dataset), archive a new version.

Archiving a new version
Old dataset:
 * Add the new dataset as a reference with relation "replaced by"
 * The dataset cannot be find in PANGAEA search '''
 * Most often change the restriction to "access rights needed"
 * This prevents the dataset being downloaded used although potentially wrong
 * The old version is not included in Data Warehouse
 * Link new version as a "Replaced by" reference (=> the old version is no longer found in the searches)
 * Refer to the new version in dataset : “A new version of the data has been uploaded, and can be found here: doi:yyyyyy.”

New dataset:
 * The same title can be used.


 * Add comment with Version number, date and reason why a new version was added, e.g. "Version 2, 2020-02-29: Previous version doi:yyyyyy contains errors due to data processing."
 * Optional: add link to old version, relation "original version".

Dataset History
The data set table in 4D (tab Details) contains a data set history record comprising of:
 * Date/Time of the change record (automatic entry),
 * Editor name responsible for the change (automatic entry) and
 * Comment, describing the change.

In this, any relevant changes to the data are documented. Date/Time and Comment are stored in metadata and shown in the data set web view as "Change history:".

Examples of dataset history comments:
 * Latitude and Longitude for station XXX (wrongly reported in expedition report) was corrected
 * "Depth, water" values were corrected for samples XXX and YYY (correction submitted by authors)
 * List of datasets containing history record: https://www.pangaea.de/?q=history%3A*