getSQLiteFile           package:GEOmetadb           R Documentation

_D_o_w_n_l_o_a_d _a_n_d _u_n_z_i_p _t_h_e _m_o_s_t _r_e_c_e_n_t _G_E_O_m_e_t_a_d_b _S_Q_L_i_t_e _f_i_l_e

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

     This function is the standard method for downloading and unzipping
     the most recent GEOmetadb SQLite file from the server.

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

     getSQLiteFile(destdir = getwd(), destfile = "GEOmetadb.sqlite.gz")

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

 destdir: The destination directory of the downloaded file

destfile: The filename of the downloaded file. This filename should end
          in ".gz" as the unzipping assumes that is the case

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

     Prints some diagnostic information to the screen.

     Returns the local filename for use later.

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

     Sean Davis <sdavis2@mail.nih.gov>

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

     http://meltzerlab.nci.nih.gov/apps/geo,
     http://gbnci.abcc.ncifcrf.gov/geo/

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

     ## Not run: geometadbfile <- getSQLiteFile()

