MeSHParser            package:AnnBuilder            R Documentation

_F_u_n_c_t_i_o_n _t_o _p_a_r_s_e _t_h_e _X_M_L _d_a_t_a _f_i_l_e _f_o_r_m _M_e_S_H

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     MeSHParser(mesh)
     setVars()

_A_r_g_u_m_e_n_t_s:

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

_D_e_t_a_i_l_s:

     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.

_V_a_l_u_e:

     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

_A_u_t_h_o_r(_s):

     Jianhua Zhang

_R_e_f_e_r_e_n_c_e_s:

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

_E_x_a_m_p_l_e_s:

     # No example provided.

