Description Usage Arguments Value See Also Examples
View source: R/article_retrieval.R
This function wraps generic_elsevier_api
to give a
retrieval of an article from the Elsevier Article Retrieval API
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, ...)
|
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 |
List of elements, similar to generic_elsevier_api
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.