getPMInfo | R Documentation |
extract publication details and abstract from annotate::pubmed function output
getPMInfo(x)
x |
an object of class xmlDocument; assumed to be result of a pubmed() call |
uses xmlDOMApply to extract and structure key features of the XML tree returned by annotate::pubmed()
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.
this should be turned into a method returning an instance of a formal class representing articles.
Vince Carey <stvjc@channing.harvard.edu>
demo <- pubmed("11780146",
"11886385", "11884611")
getPMInfo(demo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.