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

something of wrong? #52

Open
migman63 opened this issue Jul 15, 2020 · 5 comments
Open

something of wrong? #52

migman63 opened this issue Jul 15, 2020 · 5 comments

Comments

@migman63
Copy link

Hi guys.
Executing a very simple count:
q='ti:"COVID-19"'
z=arxiv_count(query=q)
I get only 65 results, when trying the same query on aRxive web site produces 1144 results.
What I'm doing of wrong?

Tx a lot

Manlio

@kbroman
Copy link
Member

kbroman commented Jul 15, 2020

I think maybe the hyphen is the problem; if you search for "covid" you get many more.

@migman63
Copy link
Author

Hi Kbroman,
and tx for your answer.
You are right, have you any suggestion about how to solve the problem? Unfortunately the hyphen is the standard for searches about Covid-19 ...
Moreover: do you know if search is case insensitive? In effect I have the same number of results searching for "COVID" and "covid".
Thanks a lot

Manlio

@migman63
Copy link
Author

But in any case: a search for "covid" in the title using aRxiv web site produces 1170 results, using the R package 1102
There's any reason?
Tx

@kbroman
Copy link
Member

kbroman commented Jul 16, 2020

I think the problem is not the R package but the arXiv API itself. Here’s a question on stackoverflow reporting a similar issue.

@migman63
Copy link
Author

Yes, I agree with you about hyphen problem.
In any case I verified that the ? character can be used, and at least for me it can be enough (e.g. "covid?19").
But I can't understand why a same simple query like:
ti:"covid"
produces a different number of results using API instead of aRxiv web direct query.
Have you any idea?

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