caltechlibrary / irdmtools

A Go and Python package for working with InvenioRDM repositories.
https://caltechlibrary.github.io/irdmtools
Other
1 stars 1 forks source link

doi2rdm: person mapping fixes #19

Closed tmorrell closed 1 year ago

tmorrell commented 1 year ago

Example 10.1364/oe.454212

  1. Map ORCID from ORCID field similar to doi2eprintxml

end result should be

identifiers": [{
        "scheme": "orcid",
        "identifier": "0000-0001-8135-3489"
      }]
  1. Map ROR from
affiliation: [
{
id: [
{
id: "https://ror.org/05dxps055",
id-type: "ROR",
asserted-by: "publisher"
}
]
}
]

to

affiliations": [{
      "id": "01ggx4157",
    }]
  1. When family and given name is present, add
"type": "personal"

otherwise use "organizational"

rsdoiel commented 1 year ago

Fixed in release of irdmtools v0.0.14