article_retrieval {rscopus} | R Documentation |
ScienceDirect Article Retrieval
Description
This function wraps generic_elsevier_api
to give a
retrieval of an article from the Elsevier Article Retrieval API
Usage
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 |
... |
Arguments to be passed to |
Value
List of elements, similar to generic_elsevier_api
See Also
Examples
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)
}
[Package rscopus version 0.8.1 Index]