Get the date when article was last updated.

Usage

almdateupdated(doi, get = NA, url = "http://alm.plos.org/articles", key = getOption("PlosApiKey",
  stop("need an API key for PLoS Journals")), ..., curl = getCurlHandle())

Arguments

doi
Digital object identifier for an article in PLoS Journals.
get
Get year, month, or day; if unspecified, whole date returned.
key
your PLoS API key, either enter, or loads from .Rprofile
url
the PLoS API url for the function (should be left to default)
...
optional additional curl options (debugging tools mostly)
curl
If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

Value

Date when article data was last updated.

Description

Get the date when article was last updated.

Examples

## Not run: # almdateupdated('10.1371/journal.pone.0026871')# almdateupdated('10.1371/journal.pone.0026871', 'year')# ## End(Not run)