Learn R Programming

rentrez (version 0.3.1)

parse_pubmed_xml: Summarise an XML record from pubmed.

Description

Summarise an XML record from pubmed.

Usage

parse_pubmed_xml(raw_xml)

Arguments

raw_xml
character the record to be parsed (as a character, expected to come from entrez_fetch)

Value

  • Either a single pubmed_record object, or a list of several

Examples

Run this code
hox_paper <- entrez_search(db="pubmed", term="10.1038/nature08789[doi]")
hox_rel <- entrez_link(db="pubmed", dbfrom="pubmed", id=hox_paper$ids)
recs <- entrez_fetch(db="pubmed",
                       id=hox_rel$pubmed_pubmed[1:3],
                       rettype="xml")
parse_pubmed_xml(recs)

Run the code above in your browser using DataLab