Searching by institution

192 views
Skip to first unread message

Kathryn Knight

unread,
Jan 12, 2016, 4:36:38 PM1/12/16
to ORCID API Users
Hello, 

I'm having trouble searching for registered ORCID numbers/names by my institution. I've followed the API instructions for doing this to the letter, but I'm suspicious of the results I'm getting. 


And, here's the CURL I've constructed (the number is Oak Ridge National Lab's Ringgold ID): 

curl -H "Accept: application/orcid+json" http://pub.orcid.org/v1.2/search/orcid-bio/?q=6146+AND+"Oak+Ridge" 

After I run this, the "num-found" field indicates 359 results. But when I send the JSON to a file, I'm only able to see 10 names...and one of those names isn't my own (I've got an ORCID ID, my profile is public, and ORNL is listed on my ORCID profile as my current place of employment). 

Has anything changed with the API? Any other ideas as to what might be going on?

--Katie

kel...@iastate.edu

unread,
Jan 13, 2016, 2:02:06 PM1/13/16
to ORCID API Users
Hi Katie,

I've been running similar queries here at Iowa State, and I think the default number of records returned at a time must only be ten, regardless of the number of results your query produces.  I've gotten around this by specifying the number of records to return in my API query. Here's an example:

?q=1177+AND+"iowa+state+university"&start=0&rows=900

I've been testing my queries using the Google OAuth sandbox, and sometimes things time out before it returns all those records as XML, so if you include the start parameter, you can collect the first 200, then run another query to pull the next, and so on using a loop.  Ex:
?q=1177+AND+"iowa+state+university"&start=0&rows=200
?q=1177+AND+"iowa+state+university"&start=200&rows=200
?q=1177+AND+"iowa+state+university"&start=400&rows=200
etc.

I hope this helps!
Kelly

Kelly J Thompson, MLIS

(pronouns: she, her, hers)

Metadata Management and Cataloging Librarian

Iowa State University Library

kel...@iastate.edu  

ORCID: 0000-0002-3812-8910

Kathryn Knight

unread,
Jan 13, 2016, 2:22:18 PM1/13/16
to kel...@iastate.edu, ORCID API Users
Hi Kelly, 

That helps TREMENDOUSLY! And clears up my problem--I thought I was going crazy. 

Thank you so much,

-Katie

--
You received this message because you are subscribed to a topic in the Google Groups "ORCID API Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orcid-api-users/QePVGJisen8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orcid-api-use...@googlegroups.com.
To post to this group, send email to orcid-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.

Allan Barclay

unread,
Jan 13, 2016, 2:36:54 PM1/13/16
to kel...@iastate.edu, ORCID API Users
Hey Kelly,

Thanks - that's something I was having trouble with too...

Take care,

Allan

--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-use...@googlegroups.com.

David Crocker

unread,
Mar 25, 2016, 12:06:24 PM3/25/16
to ORCID API Users, kel...@iastate.edu
It would be great if this information were added back into the original documentation!  I spent hours scratching my head to get a search to work for my institution and got a small list of inconclusive results until I searched and found this post.  This information is VERY valuable.

Thanks!!!

kel...@iastate.edu

unread,
Mar 25, 2016, 12:18:29 PM3/25/16
to ORCID API Users, kel...@iastate.edu
Thanks, David!
I'm not sure of the process for adding this to the original docs, but I am working on writing up a little piece on how I've been doing ORCID adoption benchmarking here at Iowa State, so I'll be sure to post to the list when I've found a home for it!
Thanks,
Kelly
Reply all
Reply to author
Forward
0 new messages