aRTdb-createTable            package:aRT            R Documentation

_C_r_e_a_t_e _a_n _a_t_t_r_i_b_u_t_e _t_a_b_l_e

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

     Creates a new attribute table in the database and returns it. If
     the table is created from an 'aRTdb', then its type will be
     external. In the case of creating it from layers, it can be any
     type but external.

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

     ## S4 method for signature 'aRTdb':
     createTable(object, tablename, ID="ID", length=16)
     ## S4 method for signature 'aRTlayer':
     createTable(object, tablename=NULL, genID=NULL, type="static", ID="ID", link=ID, length=16, itimeatt="time", ftimeatt="time")

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

  object: Object of 'aRTlayer' or 'aRTdb' class.

tablename: Name of the table.

      ID: The name of the unique identifier of the table.

  length: The maximum length of ID instances.

   genID: Populate the table IDs linking with the layer geometries?
          Used with static and dynamic attributes tables only (default
          is TRUE in the case of static tables and FALSE otherwise).

    type: The type of the table. See 'aRTtable-class' for the available
          types.

    link: The attribute of the table that links it with the IDs of
          geometry tables. Usually, the unique identifier of the table
          is a good option.

itimeatt: Initial time attribute name

ftimeatt: Final time attribute name. If it is the same as itimeatt (the
          default), the temporal table has only one temporal attribute.

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

     TerraLib uses some tables in the database, and then you cannot
     create tables with these names. Names as 'Points...',
     'Polygons...', (other geometries), 'tempTable' and 'te_...'
     are reserved. Note that names with non letters characters are also
     prohibited.

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

     Pedro Ribeiro de Andrade

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

     See 'aRTtable-class' to the description of table types.

