getData                package:MCAPS                R Documentation

_G_e_t _M_C_A_P_S _d_a_t_a _o_b_j_e_c_d_t_s

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

     Retrieve MCAPS data objects from remote database.

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

     getData(name = NULL)

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

    name: character, name of data object to retrieve

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

     If 'name' is 'NULL' for 'getData', then a character vector is
     returned (invisibly) containing the names of all the available
     data objects.  Current data objects are

_A_P_W_d_a_t_a a list of air pollution and weather data for all 204 U.S.
     counties.

_s_i_t_e_L_i_s_t character vector containing 5-digit FIPS codes for all
     counties.

_e_s_t_i_m_a_t_e_s._s_u_b_s_e_t subset of county-specific log-relative risk estimates
     from MCAPS study.

_e_s_t_i_m_a_t_e_s._f_u_l_l full set of county-specific log-relative risk estimates
     from MCAPS study.

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

     Roger D. Peng rpeng@jhsph.edu

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

     Dominici F, Peng RD, Bell ML, Pham L, McDermott A, Zeger SL, Samet
     JM (2006). "Fine Particulate Air Pollution and Hospital Admission
     for Cardiovascular and Respiratory Diseases," Journal of the
     American Medical Association, 295 (10) 1127-1134.

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

     ## Not run: 
     initMCAPS()
     getData()
     siteList <- getData("sitesList")
     head(siteList)
     ## End(Not run)

