ContentMine / getpapers

Get metadata, fulltexts or fulltext URLs of papers matching a search query

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tutorial needs additional detail for query format, Crossref question example

es87m opened this issue · comments

commented

Greetings, I'm an end-user new to Content Mine. I understand that in a multi word query
-q alcohol dopamine will default to an OR' query (137K hits)
-q '"alcohol dopamine"' is of course an exact match (5 hits)
-q 'alcohol dopamine' seems to be an 'AND' query (5K hits) although that isn't clear in the tutorial and other complex mixtures don't work like I expect - such as -q '"alcohol dopamine" and "substance p"'

However, when using --api crossref as an option, I am unable to achieve the same idea.
Using the crossref web query page
alcohol dopamine 183K hits [OR search]
+alcohol +dopamine 500 hits [AND search +(force include term) !(force exclude term) ]
[and they don't seem to have a way to do exact match]

but with getpapers, using -api crossref
-q alcohol dopamine 151K hits
-q 'alcohol dopamine' or -q '"alcohol dopamine"' or '+alcohol +dopamine' or '"+alcohol +dopamine"' 201K hits

Hit numbers aside,I just looked at the crossref api github page, and although I understand there may be some technical details I can apply, it is my suggestion that it may be more complex than many end users will search for. Some API specific guidance in the tutorials, or in the long run, a back-end way for getpapers to format the query syntax for the particular API from a standard method of input from users would make for a consistent and pleasurable user experience.

Thank you very much to developers and testers for your work on the project, I look forward to using the application.