Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include explicitly dandiset ID and version within citation/datacite record #259

Open
yarikoptic opened this issue Nov 4, 2024 · 0 comments

Comments

@yarikoptic
Copy link
Member

ATM our records look like

❯ (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":

and is not "official":

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant