getPMInfo              package:annotate              R Documentation

_e_x_t_r_a_c_t _p_u_b_l_i_c_a_t_i_o_n _d_e_t_a_i_l_s _a_n_d _a_b_s_t_r_a_c_t _f_r_o_m _a_n_n_o_t_a_t_e::_p_u_b_m_e_d _f_u_n_c_t_i_o_n _o_u_t_p_u_t

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

     extract publication details and abstract from annotate::pubmed
     function output

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

     getPMInfo(x)

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

       x: an object of class xmlDocument; assumed to be result of a
          pubmed() call

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

     uses xmlDOMApply to extract and structure key features of the XML
     tree returned by annotate::pubmed()

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

     a list with one element per pubmed id processed by pubmed.  Each
     element of the list is in turn a list with elements for author
     list, title, journal info, and abstract text.

_N_o_t_e:

     this should be turned into a method returning an instance of a
     formal class representing articles.

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

     Vince Carey <stvjc@channing.harvard.edu>

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

_S_e_e _A_l_s_o:

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

     demo <- pubmed("11780146", 
         "11886385", "11884611")
     getPMInfo(demo)

