literature_pmid: Get articles by PMID

Description Usage Arguments See Also Examples

Description

Get articles by PMID

Usage

1
literature_pmid(pmid, key = NULL, ...)

Arguments

pmid

One or more PMID's in a vector or list

key

(character) API key. required either passed in here or save as an env var or R option. see rif and Startup

...

Curl options passed on to crul::HttpClient()

See Also

Other literature: literature_mlpmid, literature_mltext, literature_retractions

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# get PMIDs for retracted articles
(out <- literature_retractions())
# then get info on some articles
literature_pmid(pmid = out[1])
literature_pmid(pmid = out[1:2])
literature_pmid(pmid = out[1:10])

## End(Not run)

rif documentation built on May 2, 2019, 5:54 a.m.