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: Map fundref to ROR #50

Closed tmorrell closed 11 months ago

tmorrell commented 1 year ago

Some CrossRef funders have DOIs e.g. https://api.crossref.org/works/10.1103/physrevb.105.035107 has

{
DOI: "10.13039/100000001",
name: "National Science Foundation",
doi-asserted-by: "publisher",
award: [
"DMR-1554891",
"DMR-1231319"
]
},

These can be turned into ROR identifiers by removing the prefix and querying

https://api.ror.org/organizations?query="100000001"
rsdoiel commented 11 months ago

Note to self, I think Tom means ROR we would do the DOI prifix of "10.13039", thus

https://api.ror.org/organizations?query="10.13039"
tmorrell commented 11 months ago

Nope, the prefix will always be the same and needs to be removed

rsdoiel commented 11 months ago

Some useful DOI to test with.

10.1037/a0018723 (resolves RORs) 10.1109/TIT.2014.2352213 (does not resolve RORs) 10.1016/j.jmaa.2015.03.027 (resolves RORs)

rsdoiel commented 11 months ago

This is implemented in the upcoming v0.0.50 release.

tmorrell commented 11 months ago

The https://ror.org/ needs to be removed from the identifier. It should look like

"funder": {
        "id": "00k4n6c32"
      },
rsdoiel commented 11 months ago

Fixed in upcoming release v0.0.51.