getPMInfo: extract publication details and abstract from...

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/getPMInfo.R

Description

extract publication details and abstract from annotate::pubmed function output

Usage

1

Arguments

x

an object of class xmlDocument; assumed to be result of a pubmed() call

Details

uses xmlDOMApply to extract and structure key features of the XML tree returned by annotate::pubmed()

Value

a list with one element per pubmed id processed by pubmed. Each element of the list is in turn a list with elements for author list, title, journal info, and abstract text.

Note

this should be turned into a method returning an instance of a formal class representing articles.

Author(s)

Vince Carey <stvjc@channing.harvard.edu>

Examples

1
2
3
demo <- pubmed("11780146", 
    "11886385", "11884611")
getPMInfo(demo)

annotate documentation built on Nov. 8, 2020, 8:14 p.m.