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

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/new_xmlreadabs.R

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

1

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

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

pubmed.mineR documentation built on July 26, 2021, 5:07 p.m.