knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

semscholar: interfacing Semantic Scholar search engine with R

Lifecycle: experimental R-CMD-check Codecov test coverage

This web client wraps the Semantic Scholar RESTful API. Semantic Scholar is a free, nonprofit, academic search engine from the Allen Institute for AI.

The client supports search for author profiles and mined metadata of scholarly works including citations, references and topics.

API Docs: https://api.semanticscholar.org/

Installation

You can install the develpment version of semscholar from GitHub:

remotes::install_github("njahn82/semscholar")

Paper Lookup

library(semscholar)
s2_papers(
  c("10.1093/nar/gkr1047", 
             "14a22b032524573d15593abed170f9f76359e581", 
             "10.7717/peerj.2323", 
             "arXiv:0711.0914")
  )

Authors

s2_papers("14a22b032524573d15593abed170f9f76359e581")$authors

Citations

s2_papers("14a22b032524573d15593abed170f9f76359e581")$citations

References

s2_papers("14a22b032524573d15593abed170f9f76359e581")$references

Topics

s2_papers("14a22b032524573d15593abed170f9f76359e581")$topics

Author Lookup

Provide one or many S2 Author IDs

s2_authors(c("2204561", "144128278", "49930593"))


njahn82/semscholar documentation built on June 26, 2021, 9:11 p.m.