dandi / dandi-archive

DANDI API server and Web app
https://dandiarchive.org
13 stars 10 forks source link

orcid should pull in or prompt for user info #772

Open satra opened 4 years ago

satra commented 4 years ago

The orcid addition should pull in user name and email address (if publicly available). if not available, the UI should prompt for that info.

curl -X GET --header 'Accept: application/ld+json' 'https://pub.orcid.org/v2.1/0000-0002-5312-6729'

yarikoptic commented 3 years ago

As a sailing on a shake down cruise, I can attest that it would be wonderful, and AFAIK should be quite simple (as @satra demonstrated) to at least populate name and affiliation .

waxlamp commented 3 years ago

This is something that would happen on the DLP, is that right? If an entity has an orcid, we can query for the username and email, but I don't understand the case of prompting for info--when does that happen?

djarecka commented 2 years ago

@waxlamp - I think this is related to our recent discussions. If orcid is available, we can perhaps use the names from the orcid

waxlamp commented 2 years ago

We need more clarity on how exactly this might work. I am still not sure what the original issue report is describing. When does that curl command happen? And what does the UI prompt for? @satra, could you weigh in on this?

satra commented 2 years ago

Indeed an integration with the orcid api would be better than our own database.

Pull in is only because of vjsf being able to pull objects in.

On Mon, Nov 8, 2021, 6:13 PM Roni Choudhury @.***> wrote:

We need more clarity on how exactly this might work. I am still not sure what the original issue report is describing. When does that curl command happen? And what does the UI prompt for? @satra https://github.com/satra, could you weigh in on this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dandi/dandiarchive/issues/102#issuecomment-963658702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABM5743QGLRGSKCJJMC64TULBKQNANCNFSM4K7GWN2Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

waxlamp commented 2 years ago

So, when an ORCID is associated to a dandiset contributor, you would like to retrieve the ORCID record and autofill the contributor data with the results, is that right?

satra commented 2 years ago

yes, and vice verse the metadata editor could prompt for contributors already in dandi. essentially a more custom add contributor functionality eventually. also, we may desire contributor acknowledgement explicitly in the future. so this could be seen as a specific element of a contributor ui component.