This function wraps generic_elsevier_api
to give a
retrieval of an article from the Elsevier Article Retrieval API
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
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) }