Learn R Programming

alm (version 0.4.0)

alm_title: Get title of article by inputting the doi for the article.

Description

Get title of article by inputting the doi for the article.

Usage

alm_title(doi = NULL, pmid = NULL, pmcid = NULL, wos = NULL, scp = NULL, url = NULL, key = NULL, api_url = "http://alm.plos.org/api/v5/articles", ...)

Arguments

doi
Digital object identifier for an article in PLoS Journals (character)
pmid
PubMed object identifier (numeric)
pmcid
PubMed Central object identifier (numeric)
wos
Web of Science identifier (character)
scp
Scopus identifier (character)
url
Canonical URL (character)
key
your PLoS API key, either enter, or loads from .Rprofile (character)
api_url
API endpoint, defaults to http://alm.plos.org/api/v3/articles (character)
...
optional additional curl options (debugging tools mostly)

Value

Title of article, in xml format.

References

See a tutorial/vignette for alm at http://ropensci.org/tutorials/alm_tutorial.html

Examples

Run this code
## Not run: 
# alm_title(doi='10.1371/journal.pbio.0000012')
# dois <- c('10.1371/journal.pone.0026871','10.1371/journal.pone.0048868',
#   	'10.1371/journal.pone.0048705','10.1371/journal.pone.0048731')
# alm_title(doi=dois)
# ## End(Not run)

Run the code above in your browser using DataLab