Comments (13)
Thanks, it works, I needed to restart my session. I really appreciate your responsiveness, thank you.
from rorcid.
was just a warning, these queries all result in 0 results. fixed now to give back an empty data.frame
from rorcid.
Thanks for getting back so quickly. The interesting thing is, when I run these queries, I get data back, do you know why that is?
carberry <- rorcid::orcid(query = 'family-name:carberry AND affiliation-org-name:Wesleyan')
iakovakis <- rorcid::orcid(query = 'family-name:iakovakis AND affiliation-org-name:Oklahoma')
from rorcid.
orcid_search()
wraps orcid()
- but it doesn't allow all possible fields to search on - I just added affiliation_org
which maps to affiliation-org-name
- so those examples should work now but using affiliation_org
instead
you can see what the user facing params map to with rorcid:::field_match_list
from rorcid.
Ah I see. Thanks Scott, that's great. Excellent work on orcid_search
; it's far easier. I'm updating my walkthrough now. Much appreciated!
from rorcid.
Sorry to bother you again, but it looks like affiliation_org
is operating as an OR, not an AND. Each of the below examples should return a single result, but they are returning 10, 3, and 5 respectively.
carberry <- rorcid::orcid_search(family_name = 'carberry',
affiliation_org = 'Brown')
iakovakis <- rorcid::orcid_search(family_name = 'iakovakis',
affiliation_org = 'Oklahoma')
boettiger <- rorcid::orcid_search(family_name = 'boettiger',
affiliation_org = 'California')
from rorcid.
hmm, it shouldl be AND. i'm getting 1 row for each of those. did you reinstall from master? if you did, then run it with verbose = TRUE
at the end to see what URL is being sent, mine looks like https://pub.orcid.org/v3.0/search?q=family-name%3Aboettiger%20AND%20affiliation-org-name%3ACalifornia&rows=10
(which uses AND
)
from rorcid.
It looks like current_inst
, current_prim_inst
, and past_inst
are not supported--and there is not a way to designate these on one's ORCID profile. See https://github.com/ORCID/ORCID-Source/blob/master/orcid-api-web/tutorial/search.md:
The entire ORCID record is indexed and can be searched using basic keyword searching. Search can also be limited to the specific fields listed below:
Affiliations data
- affiliation-org-name
- ringgold-org-id
- grid-org-id
from rorcid.
hmmm, that's too bad. I guess we should remove them maybe
from rorcid.
It is too bad because affiliation-org-name
searches across all of an individuals listed affiliations (employment, education, invited positions, membership & service) past and present. So it has the potential to return false positives--in other words, one should not use it to get ORCID iDs of all individuals currently at an institution, because it will include those who previously worked there or got their degree from there.
I would find it helpful to add the ringgold-org-id
and grid-org-id
whenever you have some time, if it's not too much trouble.
from rorcid.
opened an issue for that
from rorcid.
Thank you. Also I'm getting an error for the keywords
argument: Error: Internal Server Error (HTTP 500). - org.apache.solr.client.solrj.impl.HttpSolrServer.RemoteSolrException Full validation error: undefined field keywords
carberry <- rorcid::orcid_search(family_name = 'carberry',
keywords = 'psychoceramics')
from rorcid.
opened an issue for that
from rorcid.
Related Issues (20)
- recursive in orcid() fxn doesn't do anything HOT 2
- see if we can vectorize works() fxn
- httpuv may be required for correct orcid_auth behavior HOT 1
- API version 3 plans? HOT 4
- 'rows' argument in `rorcid::orcid_search` HOT 4
- vcr-ify tests
- Add to orcid_search(): ringgold-org-id and grid-org-id
- keyword param problem
- sort out testing for others HOT 8
- orcid_search parameters (current_prim_inst doesn't work) HOT 3
- Issue retrieving all orcid ids associated with organization HOT 6
- fix for cran checks
- `/expanded-search` route - use instead of of `/search` in orcid()?
- rows in orcid search: change default? + max HOT 1
- Get access token via 2 legged OAuth authorization HOT 3
- Does rorcid_works get the information of co-authors? HOT 1
- Column number mismatch when calling `orcid_employment` HOT 4
- orcid_works() doesn't have the "author" information? HOT 2
- Unauthorized 401 When Callin ORCID API HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rorcid.