Learn R Programming

reutils (version 0.2.2)

ecitmatch: ecitmatch - searching PubMed with citation data

Description

ecitmatch serves as an API to the PubMed batch citation matcher. It retrieves PubMed IDs (PMIDs) that correspond to a set of input citation strings.

Usage

ecitmatch(bdata, db = "pubmed", retmode = "xml")

Arguments

bdata
Citation strings. Each input citation must be represented by a citation string in the following format: journal_title|year|volume|first_page|author_name|your_key|
db
Database to search. The only supported value is ‘pubmed’.
retmode
Retrieval mode. The only supported value is ‘xml’.

Value

An ecitmatch object.

Examples

Run this code
citstrings <- c("proc natl acad sci u s a|1991|88|3248|mann bj|Art1|",
                "science|1987|235|182|palmenber ac|Art2|")
x <- ecitmatch(citstrings)
x
if (x$no_errors()) {
  content(x, "parsed")
}

Run the code above in your browser using DataLab