Coder Social home page Coder Social logo

wcmc-its / reciter-scopus-retrieval-tool Goto Github PK

View Code? Open in Web Editor NEW
4.0 7.0 5.0 5.75 MB

A tool for retrieving articles from Scopus. Can work as a standalone application or in conjunction with the author disambiguation application, ReCiter.

License: Apache License 2.0

Java 98.30% Dockerfile 1.70%
scopus elsevier reciter pmid pubmed publication publication-mining publication-data author-detection disambiguation

reciter-scopus-retrieval-tool's Introduction

ReCiter-Scopus-Retrieval-Tool

Build Status version codebeat badge License PRs Welcome Pending Pull-Requests Closed Pull-Requests GitHub issues open GitHub issues closed star this repo fork this repo Tags Github All Releases Open Source Love

Authorized users may download records from the Scopus database. This application presents an easier to use interface for developers who use Scopus. It corrects some errors in Scopus including cases where it duplicates authors.

This application was written to work with ReCiter, a tool for disambiguating articles written in PubMed and also indexed in Scopus. However, this application can work as a standalone service. In testing, it does help improve accuracy by several percentage points, but Scopus is not necessary to run ReCiter.

Advantages over using Scopus API alone

This tool has several advantages over using the Scopus API alone:

  • The Scopus API outputs data as XML while the ReCiter Scopus Retrieval Tool outputs data as JSON, a format which is easier for developers to use.
  • The Scopus API sometimes creates redundant author objects or otherwise doesn’t properly assign sequence numbers to authors. This tool addresses both problems.

Prerequisites

  • Java 11
  • Latest version of Maven. To install Maven navigate to the directory where ReCiter Scopus Retrieval Tool will be installed, execute brew install maven and then mvn clean install If you want to use Java 8 then update <java.version>1.8</java.version> in pom.xml

It is not necessary to install ReCiter in order to use the API.

Installing

  1. Navigate to directory where you wish to install the application, e.g., cd ~/Paul/Documents/
  2. Clone the repository: git clone https://github.com/wcmc-its/ReCiter-Scopus-Retrieval-Tool.git
  3. Navigate to the newly installed folder: cd ReCiter-Scopus-Retrieval-Tool
  4. Use Maven to build the project: mvn clean install -Dmaven.test.skip=true
  5. Set the SCOPUS_API_KEY key and SCOPUS_INST_TOKEN. (See "Obtaining an API key and INST_TOKEN" below)
  • Option #1: Command line
    • Enter export SCOPUS_API_KEY=[enter your API key here]
    • Enter export SCOPUS_INST_TOKEN=[enter your INST_TOKEN here]
  • Option #2: Enter as an environment variable in AWS itself. If you are deploying to an AWS instance, add the environment variable in the Elastic Beanstalk configuration section.
  • Option #3: In Eclipse application
    • Open Eclipse
    • Right-click on Application.java found here: ReCiter-Scopus-Retrieval-Tool --> src/main/java --> reciter --> Application.java
    • Click on "Run As..." --> "Run Configurations..."
    • Click on "ReCiter-Scopus-Retrieval-Tool" in sidebar
    • Click on "Environment" tab
    • Under variable, add "SCOPUS_API_KEY" and enter the API key.
    • Under variable, add "SCOPUS_INST_TOKEN" and enter the INST_TOKEN.
  1. Set the desired port
  • Option #1: Set at the system level using this command export SERVER_PORT=[your port number]. This supersedes any ports set in application.properties.
  • Option #2: Update the application.properties file located at /src/main/resources/ Make sure the port doesn't conflict with other services such as ReCiter or ReCiter PubMed Retrieval Tool.
  1. Build Maven instance mvn spring-boot:run
  2. Visit http://localhost:[your port number]/swagger-ui/index.html or http://localhost:[your port number]/swagger-ui/ to see the Swagger page for this service.

Obtaining an API key and INST_TOKEN

This Elsevier document describes how to obtain an API key and INST_TOKEN from Elsevier.

Using

Ths Scopus Retrieval Tool API only allows you to search one field at a time. Field codes are listed on the Elsevier site or in the Scopus data model for this tool.

Search for one PMID

{
  "query": [
    "20000000"
  ],
  "type": "PMID"
}

https://raw.githubusercontent.com/wcmc-its/ReCiter-Scopus-Retrieval-Tool/master/files/SearchScopus-PMID.gif

Search for multiple PMIDs

{
  "query": [
      "20000000",
      "21000000"
  ],
  "type": "PMID"
}

Search by DOI

{
  "query": [
     "10.1155/2018/1920276"
  ],
  "type": "doi"
}

https://raw.githubusercontent.com/wcmc-its/ReCiter-Scopus-Retrieval-Tool/master/files/SearchScopus-DOI.gif

Search by Scopus Doc ID

{
  "query": [
     "34547687746"
  ],
  "type": "scopus-id"
}

Search by institutional affiliation identifier

{
  "query": [
    "60007997"
  ],
  "type": "af-id"
}

reciter-scopus-retrieval-tool's People

Contributors

paulalbert1 avatar sarbajitdutta avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.