Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query on multiple subject areas #50

Open
lauravana opened this issue Feb 19, 2024 · 1 comment
Open

Query on multiple subject areas #50

lauravana opened this issue Feb 19, 2024 · 1 comment

Comments

@lauravana
Copy link

The scopus_search() function seems to ignore the queries including LIMITS-TO() or EXCLUDE () in regard to SUBJAREA. As an example:

 completeArticle <- scopus_search(
    query = 'TITLE-ABS ("gender stereotypes") AND (SUBJAREA("PSYC") OR SUBJAREA ("MATH")) AND PUBYEAR = 2002',
    view = "COMPLETE", 
    count = 200)

## Total Entries are 36
## 3 runs need to be sent with current count
## |======================================================================================================================================| 100%
## Number of Output Entries are 36

returns 36 papers.

If I however copy the query from the scopus.com advanced search functionality,

 completeArticle <- scopus_search(
    query = '(LIMIT-TO ( SUBJAREA , "PSYC" ) OR LIMIT-TO ( SUBJAREA , "MATH"))',
    view = "COMPLETE", 
    count = 200)
## Total Entries are 55
## 3 runs need to be sent with current count
## |======================================================================================================================================| 100%
## Number of Output Entries are 55

the result contains 55 entries, which is the same as if no filter on the subject area were applied:

  completeArticle <- scopus_search(
    query = 'TITLE-ABS ("gender stereotypes") AND PUBYEAR = 2002',
    view = "COMPLETE", 
    count = 200)
## Total Entries are 55
## 3 runs need to be sent with current count
## |======================================================================================================================================| 100%
## Number of Output Entries are 55
@muschellij2
Copy link
Owner

Unfortunately, that seems like a question for Scopus and I do not control the API, but this package is simply a wrapper for it. How do these results compare to that from scopus.com?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants