ncbiPubmed: NCBI PubMed database

Description Usage Arguments Details Value Author(s) Examples

View source: R/ncbiPubmed.R

Description

Searches the PubMed database at NCBI and returns a short citation with author, year, title, journal and published date.

Usage

1
ncbiPubmed(term, abstract = FALSE)

Arguments

term

Any valid combination of Entrez search terms or a vector of pubmed IDs

abstract

Include abstract in result table, default FALSE

Details

The function searches the PubMed database and parses the efetch XML summary to return a short citation

Value

A data.frame with 9 or 10 columns

pmid

PubMed id

authors

first 3 author names

year

year journal was published

title

title

journal

journal name

volume

volume number

pages

pages

pubdate

date journal was published (from PubDate tag)

artdate

date electronic copy was available (from ArticleDate tag)

abstract

abstract

Author(s)

Chris Stubben

Examples

1
2
3
4
5
## Not run: 
ncbiPubmed( c(7542800, 7569993))
# OR ncbiPubmed("7542800,7569993")

## End(Not run)

cstubben/genomes2 documentation built on May 12, 2017, 1:19 p.m.