addWorksheet           package:RGoogleDocs           R Documentation

_A_d_d _a_n _e_m_p_t_y _w_o_r_k_s_h_e_e_t _t_o _a _s_p_r_e_a_d_s_h_e_e_t _o_r _a _n_e_w _s_p_r_e_a_d_s_h_e_e_t

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

     The 'addWorksheet' function can be used to add one, empty
     worksheet to  an existing spreadsheet. The new worksheet can be 
     given dimensions and a title.

     'addSpreadsheet' adds a new spreadsheet to the list of  Google
     documents by uploading an empty spreadsheet with the specified 
     dimensions.

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

     addWorksheet(doc, con, dim, title = "", asSheetRef = TRUE, ...)
     addSpreadsheet(con, dim = c(20, 10) , name = "Sheet")

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

     doc: either the name of or a reference 

     con: the authenticated connection to the Google Spreadsheets API.
          This must be for the "wise" service rather than the general
          "writely" service. So this should be an object of class
          '"GoogleSpreadsheetsConnection"' created with a call of the
          form 'getGoogleDocsConnection(login, password, "wise")'.

     dim: the desired dimensions (rows and columns) of the new
          worksheet.

   title: a character string giving the title for the new worksheet

asSheetRef: a logical value indicating whether the result should be a
          'GoogleWorksheetRef-class' object or the status of the HTTP
          request to add the worksheet.

     ...: additional arguments passed on to 'curlPerform'  which
          submits the request.

    name: a character string giving the name of the spreadsheet
          document

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

     If 'asSheetRef' is 'TRUE', an object of 
     'GoogleWorksheetRef-class'.

     If 'asSheetRef' is 'FALSE', the status of the HTTP request from
     'curlPerform'.

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

     Duncan Temple Lang

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

     'getDocs' 'getGoogleDocsConnection' 'getGoogleAuth'

