dandi / dandi/dandi-schema

Include explicitly dandiset ID and version within citation/datacite record

Open
#259 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7
Forks
15
PR merge metrics
No merged PRs in 30d

Description

ATM our records look like

```shell
❯ (set -x; doiref 10.48324/dandi.000485/0.241014.2127 )
+zsh:47> doiref 10.48324/dandi.000485/0.241014.2127
+doiref:2> doi=+doiref:2> echo 10.48324/dandi.000485/0.241014.2127
+doiref:2> doi=+doiref:2> sed -e 's,https*://.*doi\.org/,,g'
+doiref:2> doi=10.48324/dandi.000485/0.241014.2127
+doiref:3> curl --silent -L -d '' --header 'Accept: application/x-bibtex; charset=utf-8' https://doi.org/10.48324/dandi.000485/0.241014.2127
+doiref:4> sed -e s,%2F,/,g
+doiref:4> xclip -i
+doiref:5> xclip -o
@misc{https://doi.org/10.48324/dandi.000485/0.241014.2127,
doi = {10.48324/DANDI.000485/0.241014.2127},
url = {https://dandiarchive.org/dandiset/000485/0.241014.2127},
author = {Haesemeyer, Martin},
title = {Thermal Plaid Experiments},
publisher = {DANDI Archive},
year = {2024}
}
```

so neither title nor explicit field include identifier (000485, or `DANDI:000485`) or version (`0.241014.2127`).

@djarecka found already that there is `Version` attribute we should add to datacite records, but it does not then appear in bibtex rendering. She also discovered that "identifiers" was removed in 4.5 from new JSON schema version since it is not really in original schema. Apparently the entire datacite jsonschema serialization is a fruit of "manual labor":

- https://github.com/inveniosoftware/datacite/issues/101#issuecomment-2452613295

and is not "official":

- https://github.com/datacite/schema/issues/149#issuecomment-2452505803

I will file a separate issue/PR on `identifiers` and overall there is more to figure out how to improve our citation record.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.