Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: ad64d31b7e
Fetching contributors…

Cannot retrieve contributors at this time

64 lines (52 sloc) 2.062 kB
\title{Get PLoS altmetrics as xml, json, or csv.}
almplosallviews(doi, source_ = NA, citations = FALSE,
history = FALSE, downform = NA, sleep = 0,
url = "",
key = getOption("PlosApiKey", stop("need an API key for PLoS Journals")),
..., curl = getCurlHandle())
\item{doi}{digital object identifier for an article in
PLoS Journals}
\item{source_}{source, one of counter, mpc, pubmed,
crossref, scopus, wos, citeulike, nature,
researchblogging, connotea, bloglines, postgenomic}
\item{citations}{include the individual citing document
URIs, grouped by source (logical)}
\item{history}{include a historical record of citation
counts per month (cumulative), grouped by source
\item{downform}{download format (json, xml or csv)}
\item{sleep}{Time (in seconds) before function sends API
call - defaults to zero. Set to higher number if you are
using this function in a loop with many API calls.}
\item{key}{your PLoS API key, either enter, or loads from
\item{url}{the PLoS API url for the function (should be
left to default)}
\item{...}{optional additional curl options (debugging
tools mostly)}
\item{curl}{If using in a loop, call getCurlHandle()
first and pass the returned value in here (avoids
unnecessary footprint)}
PLoS altmetrics as xml, json, or csv.
Get PLoS altmetrics as xml, json, or csv.
almplosallviews('10.1371/journal.pbio.0000012', 'counter', T, T, 'xml')
almplosallviews('10.1371/journal.pbio.0000012', 'crossref', F, F, 'json')
almplosallviews('10.1371/journal.pbio.0000012', 'citeulike', F, F, 'json')
almplosallviews('10.1371/journal.pone.0002554', 'facebook', T, T, 'json')
almplosallviews('10.1371/journal.pone.0002554', 'mendeley', F, T, 'json')
# DOI that does not work, gives NA so that looping isn't interrupted
almplosallviews("10.1371/journal.pone.002699", 'citeulike', F, F, 'json')
Jump to Line
Something went wrong with that request. Please try again.