Skip to content

Script to search all ADS papers from an author or list of authors.

Notifications You must be signed in to change notification settings

jbrande/adsquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ADS Query Script Guide

Description:

"adsquery.py" is a Python 2 script used to query the SAO/NASA Astrophysics Data System (https://ui.adsabs.harvard.edu/) for all refereed papers first-authored or coauthored by a specific scientist or list of scientists. This script also uses a list of keywords to search each author's abstracts to make sure the returned results are topical, or relate to the correct author (if two authors have the same names but work in different subfields). Author names as returned from ADS are also scrubbed of special characters to make sure names are properly matched.

Originally, this was written to query all papers by the members of the Sellers Exoplanet Environments Collaboration (https://seec.gsfc.nasa.gov). SEEC specific info has been scrubbed in favor of general information.

Dependencies:

This script also requires the presence of a file containing the ADS API key. This key should not be exposed to public users (i.e. accidentally uploaded to GitHub or other public repositories). If this happens, generate a new API key by following the instructions at the ADS website. Currently, the script expects the file location "~/.ads/dev_key", where "dev_key" is a file containing only the API key.

Usage:

The script can be run by the command "python adsquery.py YYYY", where YYYY is an optional argument specifying the 4 digit year to search. If no year is given, the script will automatically search the current year.

Outputs:

The output is a text file (publications.txt) containing the returned papers in a particular file format:

  • Title|Abstract|First Author et al.|Contributing Authors: List of Authors|Journal|Year|URL

Each entry is printed on a new line, which can then be parsed to get individual entries on a CV or personal website. Modification of this script to give BibTeX entries or other bibliographic formats based on the ADS query terms.

About

Script to search all ADS papers from an author or list of authors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages