ecitmatch: ecitmatch - searching PubMed with citation data

Description Usage Arguments Value Examples

View source: R/ecitmatch.R

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

1
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

1
2
3
4
5
6
7
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")
}

gschofl/reutils documentation built on Oct. 9, 2020, 9:42 p.m.