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

Draft DOI sent to DataCite incorrectly and incompletely maps some fields #243

Closed
3 tasks done
Br-Johnson opened this issue Sep 14, 2023 · 6 comments · Fixed by #259
Closed
3 tasks done

Draft DOI sent to DataCite incorrectly and incompletely maps some fields #243

Br-Johnson opened this issue Sep 14, 2023 · 6 comments · Fixed by #259
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Br-Johnson
Copy link
Contributor

Br-Johnson commented Sep 14, 2023

When I open up DataCite Fabrica to review draft DOIs for submitted metadata records I notice a few discrepancies. Missing fields I refer to are DataCite fields.

  • The URL element in DataCite is left empty but could be established with the dataset UUID appended to "https://catalogue.hakai.org/dataset/ca-cioos_" even before the record is published.
  • Creators: Only the affiliations of the authors of the metadata record are listed as creators in DataCite. Authors names are dropped entirely from Datacite. Affiliations should be nested under each creator
  • Datacite Resource type general could be auto-populated as 'dataset'
@sorochak
Copy link
Contributor

@Br-Johnson for 'Creators', do we want all the contacts to be included as Creators, or only specific checked 'roles' ?
See screenshot:

Screen Shot 2023-10-26 at 3 48 17 PM

@Br-Johnson
Copy link
Contributor Author

Br-Johnson commented Oct 26, 2023 via email

@sorochak
Copy link
Contributor

sorochak commented Nov 1, 2023

Can you clarify exactly what you mean by 'affilitations should be nested under each creator' ?

@sorochak
Copy link
Contributor

sorochak commented Nov 1, 2023

Can you clarify this request also: "The URL element in DataCite is left empty but could be established with the dataset UUID appended to "https://catalogue.hakai.org/dataset/ca-cioos_" even before the record is published"

@Br-Johnson
Copy link
Contributor Author

Br-Johnson commented Nov 2, 2023

Can you clarify exactly what you mean by 'affilitations should be nested under each creator' ?

image

Datacite JSON:
"creators": [
    {
      "name": "Johnson, Brett",
      "nameType": "Personal",
      "givenName": "Brett",
      "familyName": "Johnson",
      "affiliation": [
        {
          "name": "Hakai Institute",
          "schemeUri": "https://ror.org",
          "affiliationIdentifier": "https://ror.org/02pry0c91",
          "affiliationIdentifierScheme": "ROR"
        }
      ],
      "nameIdentifiers": [
        {
          "schemeUri": "https://orcid.org",
          "nameIdentifier": "https://orcid.org/0000-0001-9317-0364",
          "nameIdentifierScheme": "ORCID"
        }
      ]
    },

@Br-Johnson
Copy link
Contributor Author

Can you clarify this request also: "The URL element in DataCite is left empty but could be established with the dataset UUID appended to "https://catalogue.hakai.org/dataset/ca-cioos_" even before the record is published"

When records are drafted and sent to Datacite the URL field is left empty (in the example below I manually added it), but it could be populated by extracting the UUID from the ISO .xml (see gco:CharacterString in the pasted ISO xml snippet below and prepending "https://catalogue.hakai.org/dataset/ca-cioos_".

DataCite JSON:

{
  "id": "https://doi.org/10.21966/1.566666",
  "doi": "10.21966/1.566666",
  "url": "https://catalogue.hakai.org/dataset/ca-cioos_6c449900-c726-4e9a-b241-707711e253a7",
  "types": {
    "ris": "DATA",
    "bibtex": "misc",
    "citeproc": "dataset",
    "schemaOrg": "Dataset",
    "resourceType": "Dataset",
    "resourceTypeGeneral": "Dataset"
  },

ISO XML:

<mdb:metadataIdentifier>
    <mcc:MD_Identifier>
      <mcc:authority>
        <cit:CI_Citation>
          <cit:title>
            <gco:CharacterString>ca.cioos</gco:CharacterString>
          </cit:title>
        </cit:CI_Citation>
      </mcc:authority>
      <mcc:code>
        <gco:CharacterString>6c449900-c726-4e9a-b241-707711e253a7</gco:CharacterString>
      </mcc:code>
    </mcc:MD_Identifier>
  </mdb:metadataIdentifier>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
3 participants