getZip                 package:Hmisc                 R Documentation

_O_p_e_n _a _Z_i_p _F_i_l_e _F_r_o_m _a _U_R_L.

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

     Allows downloading and reading of a zip file containing one file

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

     getZip(url, password=NULL)

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

     url: either a path to a local file or a valid URL.

password: required to decode password-protected zip files

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

     Allows downloading and reading of zip file containing one file.
     The file may be password protected.  If a password is needed then
     one will be requested unless given.

     Note: to make password-protected zip file z.zip, do zip -e z
     myfile

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

     Returns a file O/I pipe.

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

     Frank E. Harrell

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

     'pipe'

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

     ## Not run: 
     read.csv(getZip('http://biostat.mc.vanderbilt.edu/twiki/pub/Sandbox/WebHome/z.zip'))
     ## Password is 'foo'
     ## End(Not run)

