Open birdje opened 2 years ago
@birdje I took a first pass at implementing your desired specimen citation format. Waiting for changes to propagate.
Via https://www.globalbioticinteractions.org/?accordingTo=http%3A%2F%2Fn2t.net%2Fark%3A%2F65665%2F3025b3b04-93d7-480a-9056-fb8545d09c58&interactionType=ecologicallyRelatedTo I captured the attached screenshot to indicate that some USNMENT specimen records are cited like:
USNMENTUSNMENT1119065 http://n2t.net/ark:/65665/3025b3b04-93d7-480a-9056-fb8545d09c58
instead of
http://n2t.net/ark:/65665/3025b3b04-93d7-480a-9056-fb8545d09c58
@birdje - I noticed some records like http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3 and http://n2t.net/ark:/65665/357edb711-5939-4f6d-86a3-5890acd2bd8f that have collectionCode == Entomology , unlike the (cryptic) collectionCode urn:uuid:18e3cd08-a962-4f0a-b72c-9a0b3600c5ad .
$ curl --silent https://depot.globalbioticinteractions.org/reviews/globalbioticinteractions/usnm/indexed-interactions.tsv.gz\
| gunzip\
| mlr --itsvlite --ojson filter '$sourceOccurrenceId=="http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3"'\
| jq .
...
"sourceOccurrenceId": "http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3",
"sourceCatalogNumber": "AB9TE21",
"sourceCollectionCode": "Entomology",
"sourceCollectionId": "",
"sourceInstitutionCode": "USNM",
"sourceTaxonId": "",
"sourceTaxonName": "Unidentified unidentified_sp1_ab9te59",
would you like to cite these records with format like:
USNMENTAB9TE21 http://n2t.net/ark:/65665/30afd65b7-1280-4822-a365-3d8b741c6aa3
also?
Hi!
If the collection code is Entomology and the institution code is USNM, please format the citation as catalog number, ark
Eg: USNMENT01084266 http://n2t.net/ark:/65665/36a9950fd-6a31-49b3-96de-b3efd7750e7e instead of only the ark http://n2t.net/ark:/65665/36a9950fd-6a31-49b3-96de-b3efd7750e7e
thank you!