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

View source: R/alm_title.R

alm_titleR Documentation

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

## 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)

ropensci/alm documentation built on May 18, 2022, 9:47 a.m.