Skip to content

Latest commit

 

History

History

search_facet_optimised

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Examples of how to use the ADS API

Search Facet Plots Using Facets (optimised)

A small tool to plot the search facet plots that are found on the ADS search results page. This is a more optimised version than the brute force approach used in the other example Search Facet Plot:

Search results page on ADS Bumblebee

The tool allows you to create metrics for a set of bibcodes in two ways:

  1. via ORCiD iD
  2. via a generic ADS query

If you want to preseve the plots, you can either save them to disc as an image, or in CSV format. This tool expects you to have an environment variable (ADS_DEV_KEY) set as a token or to pass it via command line

Note: this tool is not limited by the number of bibcodes in the response unlike the metrics service.

Example usage:

python plot_search.py --orcid 0000-0001-8043-4965 --plot -f png --save-to-file csv --token ADS_DEV_KEY

Makes plots like this:

Search example page