Skip to content

Retrieve metrics from the InCites web service

License

Notifications You must be signed in to change notification settings

clarivate/incites-retrieve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InCites Retrieve

This code supports batch retrieval of metrics from the InCites Benchmarking and Analytics API.

Please see the Product/Service terms on the Clarivate Terms of business page for details on how the data retrieved using this service can be used, including which fields may be shown on third party public-facing pages. For more information about web services for the Web of Science, please review this data integration website.

Getting started

Requirements

  • Python 3.5+ (Python 2.7+ may work, but success not guaranteed)
  • Access to the InCites API

Install

  • Download or clone this repository by clicking on the "Clone or download" button in the top right corner
  • Set an environment variable with your API Key.
  • INCITES_KEY

Setting environment variables

On a Mac or Linux system:

$ export INCITES_KEY="mykey"

On Windows, open a command window:

set INCITES_KEY="mykey"

Running a script

Run the script with the incoming csv data as the first parameter. The output will be printed as CSV to the console. It can be redirected to a file for saving. For example:

$ python batch_lookup_v2.py myfile.csv > output.csv

Available files

batch_lookup_v2.py: Calls version 2 of the InCites API, which provides additional open access and subject category data batch_lookup_v1.py: Calls version 1 of the InCites API, provided here only for posterity

ESCI

By default, results do not include the Emerging Sources Citation Index. To include ESCI, edit the setting in batch_lookup_vx.py.

ESCI = False  # Set to True to include ESCI in results

Schema

The v2 API will return category normalized metrics for Web of Science categories by default. You can also adjust the category schema. See the InCites API documentation for the list of options.

SCHEMA = 'for1'

Disclaimer

These scripts are provided to allow InCites users to perform common operations with the AMR web service. The scripts and uses cases may change over time. No direct support is provided.

Please contact your Clarivate account manager or technical support with questions regarding API access.

Use Cases

Retrieve InCites metrics for a set of documents

With a CSV file containing a ut column, lookup each item via InCites and save retrieved metrics to a file.

incoming data

ut
WOS:000259986300005
WOS:000235983900007
WOS:000253436400011

matched data

ISI_LOC NCI IMPACT_FACTOR AVG_EXPECTED_RATE ...
000259986300005 6.59 8.166 21.2582 ...
000235983900007 .87 4.155 34.3393 ...
000253436400011 2.42 5.153 24.3601 ...

Partial output. See full output in the API documentation.

About

Retrieve metrics from the InCites web service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages