Learn R Programming

rAltmetric (version 0.7.0)

altmetrics: Query data from the Altmetric.com API

Description

Query data from the Altmetric.com API

Usage

altmetrics(oid = NULL, id = NULL, doi = NULL, pmid = NULL,
  arxiv = NULL, isbn = NULL, uri = NULL,
  apikey = getOption("altmetricKey"), foptions = list(), ...)

Arguments

oid
An object ID (assigned internally by Altmetric)
id
An altmetric.com id for a scholarly product
doi
A persistent identifier for a scholarly product
pmid
An is for any article indexed in Pubmed. PubMed accesses the MEDLINE database of references and abstracts on life sciences and biomedical topics
arxiv
A valid id from arxiv. The arxiv is a repository of preprints in the fields of mathematics, physics, astronomy, computer science, quantitative biology, statistics, and quantitative finance.
isbn
A International Standard Book Number (ISBN)
uri
A Uniform Resource Identifier such as webpage
apikey
Your API `key`. By default the package ships with a key, but mostly as a demo. If the key becomes overused, then it is likely that you will start to see API limit errors
foptions
Additional options for `httr`
...
additional options

Examples

Run this code
## Not run: ------------------------------------
# altmetrics(doi ='10.1038/480426a')
# # For ISBNs
# ib <- altmetrics(isbn = "978-3-319-25557-6")
## ---------------------------------------------

Run the code above in your browser using DataLab