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)

