DOI and versioning
Why NEMAR has its own DOI namespace
Section titled “Why NEMAR has its own DOI namespace”NEMAR mints dataset identifiers in its own 10.82901/NEMAR namespace through EZID and publishes
the associated DataCite metadata. The namespace gives the NEMAR resource a stable way to connect
three things that otherwise tend to drift apart: the dataset as a continuing scholarly object, a
specific released version, and the landing page that explains how to use it.
This is not just a shorter download link. A minimal citation record might provide a title, an author, and a URL. A populated NEMAR record can carry much more context when the source metadata supports it:
- authors, ORCID identifiers, and affiliations;
- an abstract, acknowledgement text, and MeSH-validated keywords;
- funding information and related publications or identifiers;
- issued and, when supplied, collection dates;
- language, geographic information, file formats, sizes, and license;
- the dataset version and the relationship between the concept and its versions.
The result is a richer citation and a better machine-readable description of what the dataset is. “Can carry” matters: the record is only as complete as the metadata supplied and successfully validated during curation.
Concept DOI and version DOI
Section titled “Concept DOI and version DOI”The concept DOI identifies the dataset across its useful lifetime. A version DOI identifies one released state. For example, a dataset might have a concept DOI like:
10.82901/NEMAR.nm000103and a version DOI associated with a release such as:
10.82901/NEMAR.nm000103.v1.0.0The exact identifier shown on a dataset landing page is authoritative. The important relationship is conceptual: cite the concept when discussing the dataset broadly; cite the version when an analysis depends on the exact files, metadata, or manifest used.
Why versioning is part of FAIR practice
Section titled “Why versioning is part of FAIR practice”FAIR data must be findable and reusable, but reuse also requires knowing which state was used. A DOI should not turn a dataset into an unchangeable museum object, and an update should not silently rewrite the bytes behind an old citation.
NEMAR therefore treats a release as a fixed citable state. The one exception is a privacy correction: if a version is found to expose a participant, NEMAR aims to correct it in every version it serves, keeps the version numbers and DOIs, and records the correction in the change log, as the Takedown Procedure describes. A later correction or addition goes through a reviewable pull request, receives a new dataset version, and can receive a new version DOI. The concept-level identity connects the history; the version-level identity protects the meaning of an earlier analysis.
For a concrete comparison with an imported OpenNeuro dataset, see Why use NEMAR?.
The comparison uses the HBN EEG on005506 / ds005506 records and distinguishes the two
repositories’ version numbers.
The DOI itself is permanent, while its registrar metadata can be corrected or enriched when a curation error is found. That distinction lets NEMAR improve descriptions and relationships in public without pretending that a previous release never existed.
Versions of an OpenNeuro mirror
Section titled “Versions of an OpenNeuro mirror”A dataset that NEMAR imported from OpenNeuro has an identifier that starts with on.
This page calls it a mirror, and calls OpenNeuro upstream.
A mirror numbers its versions by one rule.
The rule is recorded in two Architecture Decision Records (ADRs): ADR 0006 (every upstream re-pull is a major version) and ADR 0111 (an upstream re-pull is a reviewed delta on a release branch).
- Where NEMAR recorded the tag,
N.0.0is a pure mirror of one upstream snapshot. It holds the files of that OpenNeuro tag, and upstream wins every conflict. NEMAR adds only its standard edits, such as the privacy scrub and the setting of acquisition dates to 1 January of their year (see Identifier screening). NEMAR also owns.nemar/and.github/, and indataset_description.jsontheDatasetDOIandVersionkeys and theSourceDatasetsentry that names the upstream snapshot. - A minor or patch version is NEMAR’s own change.
N.0.1puts the corrections that NEMAR made to the mirror before the pull back on top ofN.0.0; a later change takes the next minor or patch number. - A new upstream snapshot becomes the next major version.
A re-pull is NEMAR pulling a newer OpenNeuro snapshot of a dataset it already mirrors.
When the highest version of a mirror is
1.0.1, its next re-pull is2.0.0, whatever the upstream change was.
The version numbers are NEMAR’s, not OpenNeuro’s.
NEMAR 1.0.0 can mirror OpenNeuro tag 1.0.1, and the next upstream snapshot becomes NEMAR 2.0.0 whatever its tag is.
The dataset comparison in Why use NEMAR? shows the two numberings side by side.
When NEMAR can establish the upstream tag of a version, it records the tag as source_version, so the link between the two numberings is a record and not a guess from the digits.
A re-pull is a new version of a published dataset, not a new publication. Its major version receives its own version DOI, as every release of a published dataset does. The previous version keeps its DOI, its manifest and its data-plane routes, with the one exception described above for a privacy correction. The DOI record lists the DOI of the OpenNeuro snapshot among its related identifiers.
What a reader can rely on
Section titled “What a reader can rely on”- Where NEMAR recorded the upstream tag of an
N.0.0, itsmirrorflag istrue(see Themirrorflag in the data plane documentation), and the version is upstream’s snapshot at that tag, plus NEMAR’s standard edits and the files and keys it owns. - A version that is not
N.0.0carries a change that NEMAR made itself. - A major version of a mirror means an upstream pull, and the
nemarcommand refuses to release one by hand (see OpenNeuro mirrors for what that check does and does not cover). - Between
N.0.0andN.0.1, the newest version is upstream’s snapshot without NEMAR’s own corrections. The standard edits are applied toN.0.0itself, so they are not part of that gap. When NEMAR has no corrections to put back, there is noN.0.1.
A practical citation rule
Section titled “A practical citation rule”When you publish an analysis, record:
- the NEMAR dataset ID;
- the version DOI or explicit version tag;
- the analysis code and relevant parameters;
- any derivative outputs and their own provenance.
The dataset versioning guide explains the contributor workflow. The Data API exposes version lists, metadata, and manifests for tools that need to resolve the same record programmatically.