new_xmlreadabs {pubmed.mineR}R Documentation

To read the abstracts from the PubMed saved in XML format.

Description

new_xmlreadabs is modified form of xmlreadabs as it reads the abstracts downloaded or saved in XML format from PubMed. This function should be used for recent XML format from PubMed.

Usage

new_xmlreadabs(file)

Arguments

file

an XML file saved from PubMed.

Value

an S4 object of class Abstracts containing journals, abstracts and PMID.

Note

This function is useful with recent format of XML files from PubMed. The older xmlreadabs will not work with recent format.

Author(s)

S.Ramachandran

See Also

readabsnew readabs

Examples

## Not run: xmlabs = new_xmlreadabs("easyPubMed_00001.txt")
## here "easyPubMed_00001.txt" is an xml file from PubMed using package easyPubMed

[Package pubmed.mineR version 1.0.20 Index]