Create an Opal table if it does not already exist. If a list of table references are provided, the table will be a view. The table/view created will have no dictionary, use opal.table_dictionary_update to apply a dictionary.
See also
Other table functions:
opal.perms(),
opal.resource_view_create(),
opal.resource_view_reconnect(),
opal.table_delete(),
opal.table_dictionary_get(),
opal.table_dictionary_update(),
opal.table_exists(),
opal.table_export(),
opal.table_get(),
opal.table_import(),
opal.table_perm(),
opal.table_perm_add(),
opal.table_perm_delete(),
opal.table_save(),
opal.table_truncate(),
opal.table_view_create(),
opal.table_view_update()
Examples
if (FALSE) { # \dontrun{
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# make a raw table
opal.table_create(o, "CNSIM", "CNSIM4")
# make a view
opal.table_create(o, "CNSIM", "CNSIM123",
tables = c("CNSIM.CNSIM1", "CNSIM.CNSIM2", "CNSIM.CNSIM3"))
opal.logout(o)
} # }