datacite / bracco

Frontend for the DataCite DOI Fabrica service
https://doi.datacite.org
MIT License
13 stars 8 forks source link

Not possible to create APA citation if the creator name includes roman numerals #557

Open MaryHirsch opened 3 years ago

MaryHirsch commented 3 years ago

Expected Behaviour

For a name like "Name F. Surname III" According to this blog post https://blog.apastyle.org/apastyle/2017/05/whats-in-a-name-two-part-surnames-in-apa-style.html the correct format is Surname, N. F., III.

Current Behaviour

This format

<creator>
            <creatorName nameType="Personal">Meehan III, William F.</creatorName>
            <givenName>William F.</givenName>
            <familyName>Meehan III</familyName>
        </creator>
    </creators>

Which generates this citation: Meehan III, W. F. (2021). Test [Data set]. Test. https://doi.org/10.17596/XPHK-1045. This not correct

Steps to Reproduce

  1. see example: https://doi.test.datacite.org/dois/10.17596%2Fvmna-p115

Context (Environment)

Production

Screenshots

Further details

Proposal

Hypothesis

Possible Implementation

Front logo Front conversations

gb-lin commented 3 years ago

And if it's possible can the parser be lenient when some suffixes may be passed in with a comma or just spaces? Like <familyName>Meehan, Jr.</familyName>.

Thanks!

svogt0511 commented 3 years ago

Needs some discussion,

MaryHirsch commented 2 years ago

This is also a problem for users trying to add (Eds.) for editor to the creator name. The work around is to use the nameType unknown in the form, but this is not obvious.

some examples:

Test 1)

Moretti, Milena (Eds.) Milena Moretti https://orcid.org/0000-0003-0260-6869 Istituto Nazionale di Geofisica e Vulcanologia (INGV) Margheriti, L., Cirillo, F., Guglielmino, F., & Moretti, M. (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. Miscellanea INGV, 57. https://doi.org/10.13127/MISC/57 Response: the suffix "(Eds.)" completely missing. Test 2) Moretti, Milena Milena (Eds.) Moretti https://orcid.org/0000-0003-0260-6869 Istituto Nazionale di Geofisica e Vulcanologia (INGV) Margheriti, L., Cirillo, F., Guglielmino, F., & Moretti, M. (E. (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. Miscellanea INGV, 57. https://doi.org/10.13127/MISC/57 Response: the suffix "(Eds.)" is truncated. Test 3) Moretti, Milena (Eds.) https://orcid.org/0000-0003-0260-6869 Istituto Nazionale di Geofisica e Vulcanologia (INGV) Margheriti, L., Cirillo, F., Guglielmino, F., & Moretti, Milena (Eds.). (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. Miscellanea INGV, 57. https://doi.org/10.13127/MISC/57 Response: the suffix "(Eds.)" is preserved but the name of the last editor is not truncated. Test 4) Moretti, M. (Eds.) https://orcid.org/0000-0003-0260-6869 Istituto Nazionale di Geofisica e Vulcanologia (INGV) Margheriti, L., Cirillo, F., Guglielmino, F., & Moretti, Milena (Eds.). (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. Miscellanea INGV, 57. https://doi.org/10.13127/MISC/57 Response: the suffix "(Eds.)" is preserved but, the name of the last editor is truncated in the generatedbibliographic citation, but the complete first name is not present in the metadata.
MarioLocati commented 2 years ago

I am the one requiring a viable solution to include "(Ed.)" or "(Eds.)" in the bibliographic citation when creators act as editors.

I started from what says the DataCite Metadata Schema v4.4 manual at page 42 where you state for Editors "Note: if the Editor is to be credited in place of multiple creators, the Editor’s name may be supplied as Creator, with “(Ed.)” appended to the name".

The 4 solutions I have tested are the one mentioned above by @MaryHirsch, but I repaste them below as to preserve XML code I used, so it will better clarify what happens in each case.

Below the 4 tests I have tried using our DOI "10.13127/misc/57" where we have multiple creators, all acting as editors of a book of proceedings. For each test I provide below the corresponding output generated using the link https://data.crosscite.org/text/x-bibliography/10.13127/misc/57

Test 1)

<creator>
      <creatorName nameType="Personal">Moretti, Milena (Eds.)</creatorName>
      <givenName>Milena</givenName>
      <familyName>Moretti</familyName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0003-0260-6869</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/00qps9a02" affiliationIdentifierScheme="ROR">Istituto Nazionale di Geofisica e Vulcanologia (INGV)</affiliation>
</creator>

Margheriti, L., Cirillo, F., Guglielmino, F., &amp; Moretti, M. (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. <i>Miscellanea INGV</i>, 57. https://doi.org/10.13127/MISC/57

Response: the suffix "(Eds.)" is completely missing. Unacceptable.

Test 2)

<creator>
      <creatorName nameType="Personal">Moretti, Milena</creatorName>
      <givenName>Milena (Eds.)</givenName>
      <familyName>Moretti</familyName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0003-0260-6869</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/00qps9a02" affiliationIdentifierScheme="ROR">Istituto Nazionale di Geofisica e Vulcanologia (INGV)</affiliation>
</creator>  

Margheriti, L., Cirillo, F., Guglielmino, F., &amp; Moretti, M. (E. (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. <i>Miscellanea INGV</i>, 57. https://doi.org/10.13127/MISC/57

Response: the suffix "(Eds.)" is truncated. Unacceptable.

Test 3)

<creator>
      <creatorName nameType="Personal">Moretti, Milena (Eds.)</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0003-0260-6869</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/00qps9a02" affiliationIdentifierScheme="ROR">Istituto Nazionale di Geofisica e Vulcanologia (INGV)</affiliation>
</creator>

Margheriti, L., Cirillo, F., Guglielmino, F., &amp; Moretti, Milena (Eds.). (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. <i>Miscellanea INGV</i>, 57. https://doi.org/10.13127/MISC/57

Response: the suffix "(Eds.)" is preserved but the name of the last editor is not truncated. Unacceptable.

Test 4)

<creator>
      <creatorName nameType="Personal">Moretti, M. (Eds.)</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="https://orcid.org">https://orcid.org/0000-0003-0260-6869</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/00qps9a02" affiliationIdentifierScheme="ROR">Istituto Nazionale di Geofisica e Vulcanologia (INGV)</affiliation>
</creator>

Margheriti, L., Cirillo, F., Guglielmino, F., &amp; Moretti, M. (Eds.). (2020). Progetto “Sale Operative Integrate e Reti di monitoraggio del futuro: l’INGV 2.0”. Report finale. <i>Miscellanea INGV</i>, 57. https://doi.org/10.13127/MISC/57

Response: the suffix "(Eds.)" is preserved and the citation look OK, but the name of the last editor is truncated, and completely missig from the metadata. Kind of accectable, but not an ideal solution.

I finally checked the solution proposed by @MaryHirsch but I cannot set as "Unknown" the nametype because is is not an accepted value in the metadata schema (it accept either "Organizational" or "Personal"), see https://schema.datacite.org/meta/kernel-4.4/include/datacite-nameType-v4.xsd I have tried also to not set the nametype bu that has zero impact in the result.