Learn R Programming

genomes (version 2.16.0)

ncbiPubmed: NCBI PubMed database

Description

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

Usage

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

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

Details

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

Examples

Run this code
## Not run: 
# ncbiPubmed( c(7542800, 7569993))
# # OR ncbiPubmed("7542800,7569993")
# ## End(Not run)

Run the code above in your browser using DataLab