Closed dkremmydas closed 4 years ago
That's something you must take up with Scopus itself. I agree that # is off. I would use length(item$entries[[1]]$author) as a better indicator.
John
On Mon, Jan 21, 2019 at 6:01 PM Dimitris Kremmydas notifications@github.com wrote:
An example: for eid="2-s2.0-85054194688" author count shall be 4 while 5 is returned
The code to retrieve the record item = scopus_search(query = paste0("eid(2-s2.0-85054194688)"), view = "COMPLETE", verbose = T)
item$entries[[1]]$author-count
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/muschellij2/rscopus/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBnrmEymGW4KCG3qjMwKv50WMo1fiwqks5vFkbegaJpZM4aLpsx .
Update - this has been "fixed" per Elsevier, but that's true.
Here is the same command:
> item = scopus_search(query = paste0("eid(2-s2.0-85054194688)"), view = "COMPLETE", verbose = TRUE)
The query list is:
list(query = "eid(2-s2.0-85054194688)", count = 25, start = 0,
view = "COMPLETE")
$query
[1] "eid(2-s2.0-85054194688)"
$count
[1] 25
$start
[1] 0
$view
[1] "COMPLETE"
Response [https://api.elsevier.com/content/search/scopus?query=eid%282-s2.0-85054194688%29&count=25&start=0&view=COMPLETE]
Date: 2019-02-02 20:38
Status: 200
Content-Type: application/json;charset=UTF-8
Size: 5.97 kB
Total Entries are 1
Number of Output Entries are 1
Warning message:
In scopus_search(query = paste0("eid(2-s2.0-85054194688)"), view = "COMPLETE", :
STANDARD view can have a max count of 200 and COMPLETE 25
with the same output:
> item$entries[[1]]$`author-count`
$`@limit`
[1] "100"
$`$`
[1] "5"
now the number of authors agree:
> length(item$entries[[1]]$author)
[1] 5
but one is actually duplicated:
> length(unique(item$entries[[1]]$author))
[1] 4
> all.equal(item$entries[[1]]$author[[3]], item$entries[[1]]$author[[4]])
[1] TRUE
An example: for eid="2-s2.0-85054194688" author count shall be 4 while 5 is returned
The code to retrieve the record item = scopus_search(query = paste0("eid(2-s2.0-85054194688)"), view = "COMPLETE", verbose = T)
item$entries[[1]]$
author-count