ElsevierDev / elsapy

A Python module for use with Elsevier's APIs: Scopus, ScienceDirect, others.
http://api.elsevier.com
BSD 3-Clause "New" or "Revised" License
358 stars 142 forks source link

Problem searching by subject classification #19

Closed JosephWYoung closed 5 years ago

JosephWYoung commented 6 years ago

I am trying to use ElsSearch to retrieve DOI's for documents classified by subject area. The query

 subj_srch = ElsSearch(word + '+SUBJAREA(' + subj + ')','scidir')
 subj_srch.execute(client)

(where subj varies from "AGRI" to "BIOC", for example) does not yield unique results. If I remove the word query, I get an error. How can I search by subject classification?

m-direnzo commented 6 years ago

Hello Joseph,

Apologies for the delayed response.

Regarding your query, the subject area classifications for the ScienceDirect Search API differ from those used with the Scopus Search API. "AGRI" and "BIOC" will only work with Scopus; for ScienceDirect, you would use "agribio" and "biochemgenmolbiol", respectively.

Please see the ScienceDirect Search API documentation here:

and the valid subject classifications here:

I hope that helps!

Best regards, Matthew DiRenzo