View source: R/semantic_scholar.R
lookup_paper | R Documentation |
This function fetch a paper data from the Semantic Scholar corpus.
lookup_paper(
paper_id,
fields = c("externalIds", "title", "abstract", "year", "tldr")
)
paper_id |
|
fields |
|
The following types of paper_id are supported:
<sha> - a Semantic Scholar ID, e.g. 649def34f8be52c8b66281af98ae884c09aef38b
CorpusId:<id> - Semantic Scholar numerical ID, e.g. 215416146
DOI:<doi> - a Digital Object Identifier, e.g. DOI:10.18653/v1/N18-3011
ARXIV:<id> - arXiv.rg, e.g. ARXIV:2106.15928
MAG:<id> - Microsoft Academic Graph, e.g. MAG:112218234
ACL:<id> - Association for Computational Linguistics, e.g. ACL:W12-3903
PMID:<id> - PubMed/Medline, e.g. PMID:19872477
PMCID:<id> - PubMed Central, e.g. PMCID:2323736
URL:<url> - URL from one of the sites listed below, e.g. URL:https://arxiv.org/abs/2106.15928v1
semanticscholar.org https://www.semanticscholar.org
arxiv.org https://arxiv.org/
aclweb.org https://www.aclweb.org/
acm.org https://www.acm.org/
biorxiv.org https://www.biorxiv.org/
The following returned results are recognized:
paperId string
externalIds object
Other catalog IDs for this paper, if known. Supports ArXiv, MAG, ACL, PubMed, Medline, PubMedCentral, DBLP, DOI.
url string
URL on the Semantic Scholar website
title string
This field will be provided if no fields are specified.
abstract string
venue string
year integer
referenceCount integer
citationCount integer
influentialCitationCount integer
https://www.semanticscholar.org/faq#influential-citations
isOpenAccess boolean
https://www.openaccess.nl/en/what-is-open-access
fieldsOfStudy object
A list of high-level academic categories.
authors object
Array of objects (Author Info).
citations object
Array of objects (Paper Info)
references object
Array of objects (Paper Info
embedding object
object (Embedding)
tldr object
Too Long; Didn't Read. Artificial Intelligence https://www.semanticscholar.org/product/semantic-reader summarizes academic articles for you.
See website https://api.semanticscholar.org/graph/v1#operation/get_graph_get_paper for details.
list representing paper objects
Liuyong Ding
## Not run:
res <- lookup_paper(paper_id = "649def34f8be52c8b66281af98ae884c09aef38b")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.