Skip to content

DOI and versioning

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.

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.nm000103

and a version DOI associated with a release such as:

10.82901/NEMAR.nm000103.v1.0.0

The 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.

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.

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.0 is 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 in dataset_description.json the DatasetDOI and Version keys and the SourceDatasets entry that names the upstream snapshot.
  • A minor or patch version is NEMAR’s own change. N.0.1 puts the corrections that NEMAR made to the mirror before the pull back on top of N.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 is 2.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.

  • Where NEMAR recorded the upstream tag of an N.0.0, its mirror flag is true (see The mirror flag 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.0 carries a change that NEMAR made itself.
  • A major version of a mirror means an upstream pull, and the nemar command refuses to release one by hand (see OpenNeuro mirrors for what that check does and does not cover).
  • Between N.0.0 and N.0.1, the newest version is upstream’s snapshot without NEMAR’s own corrections. The standard edits are applied to N.0.0 itself, so they are not part of that gap. When NEMAR has no corrections to put back, there is no N.0.1.

When you publish an analysis, record:

  1. the NEMAR dataset ID;
  2. the version DOI or explicit version tag;
  3. the analysis code and relevant parameters;
  4. 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.