article_retrieval: ScienceDirect Article Retrieval

Description Usage Arguments Value See Also Examples

View source: R/article_retrieval.R

Description

This function wraps generic_elsevier_api to give a retrieval of an article from the Elsevier Article Retrieval API

Usage

1
2
3
article_retrieval(id, view = c("META", "META_ABS", "META_ABS_REF",
  "FULL", "REF", "ENTITLED"), identifier = c("scopus_id", "eid", "doi",
  "pii", "pubmed_id"), http_end = NULL, ...)

Arguments

id

Identifier for article

view

Which view to see. See https://dev.elsevier.com/guides/ArticleRetrievalViews.htm

identifier

Type of identifier to use

http_end

any additional end to http statement. See generic_elsevier_api

...

Arguments to be passed to generic_elsevier_api

Value

List of elements, similar to generic_elsevier_api

See Also

generic_elsevier_api

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
api_key = get_api_key(NULL, error = FALSE)
if (!is.null(api_key)){
    x = article_retrieval("S1053811915002700", identifier = "pii",
    verbose = FALSE, view = "FULL")
    gen = x$content$`full-text-retrieval-response`
    ot = gen$originalText
} else {
 x = article_retrieval("S1053811915002700",
   identifier = "pii",
   api_key_error = FALSE)
}

rscopus documentation built on Sept. 18, 2019, 1:03 a.m.