MeSHParser {AnnBuilder}R Documentation

Function to parse the XML data file form MeSH

Description

Given the name of a local version of the XML file from MeSH, this function parses the file and returns a list of environment objects containing the subtracted data.

Usage

MeSHParser(mesh)
setVars()

Arguments

mesh mesh a character string for the name of a local version of the XML data file avaiable for downloading from MeSH

Details

Due to security reasons at the servers end, the source XML file has to be downloaded from MeSH and stored locally. MeSHParser reads the file to subtract data.

Value

This function returns a list of environment objects.

treenum a vector that contains mappings between Descriptor unique ids and their corresponding tree number assigned by MeSH
scopenote a vector that contains mappings between Descriptor unique ids and their corresponding notes provided by MeSH
qualifier a vector contains mappings between Descriptor and corresponding qualifier headings
concept a vector contains mappings between the headings of Descriptor and corresponding Concepts belonging to the Descriptor
term a vector contains mappings between the headings of Concepts and the corresponding Terms belonging to the Concepts
heading a vector contains mappings between the unique MeSH ids and their corresponding headings

Author(s)

Jianhua Zhang

References

http://www.nlm.nih.gov/mesh/meshhome.html

Examples

# No example provided.

[Package AnnBuilder version 1.4.21 Index]