ads
ads copied to clipboard
support for Positional Field Searches
I would like to run some positional searches to identify papers with the author is second or third as described here
https://ui.adsabs.harvard.edu/help/search/positional
e.g.
pos(author:”Oort, J”,2) | papers which have “J. Oort” as the second author
I tried q='pos(author:”Oort, J”,2)'
papers = list(ads.SearchQuery(q=q, fl=['id', 'first_author', 'title', 'year', 'citation_count], sort='citation_count desc'))
This returns:
Traceback (most recent call last):
File "