altmetrics: Query data from the Altmetric.com API

Description Usage Arguments Examples

Description

Query data from the Altmetric.com API

Usage

1
2
3
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

1
2
3
4
5
6
## Not run: 
altmetrics(doi ='10.1038/480426a')
# For ISBNs
ib <- altmetrics(isbn = "978-3-319-25557-6")

## End(Not run)

rAltmetric documentation built on May 1, 2019, 10:30 p.m.