lubianat / pyorcidator

MIT License
9 stars 5 forks source link

Add logic to look for disambiguations on Wikidata #1

Open lubianat opened 2 years ago

lubianat commented 2 years ago

e.g. :

"organization": {
                        "name": "University of Regensburg",
                        "address": {
                            "city": "Regensburg",
                            "region": "Bayern",
                            "country": "DE"
                        },
                        "disambiguated-organization": {
                            "disambiguated-organization-identifier": "grid.7727.5",
                            "disambiguation-source": "GRID"
                        }
                    }

code should look up id on Wikidata before asking user for key

jvfe commented 2 years ago

Oh I think I misunderstood this in #5. I thought of general disambiguation initially - by name. But this is referring to P2427. My apologies! Either way I still think #5 is a worthwhile addition.

lubianat commented 2 years ago

Actually there are several IDs that ORCID uses (so not always P2427); nevertheless it is good to have a default to just type through