initialize_data_table | R Documentation |
write tables to configuration database
initialize_data_table(config_db, tablename, variable_list)
config_db |
R6 object of configuration database |
tablename |
name of table |
variable_list |
list of variable headings, with variable type e.g. list(c("id", "integer"), c("Name", "character")) |
Make sure the table in the database has all the right variable headings. Creates table if table does not yet exist. Allows 'update' of old databases. Alters table in configuration database directly.
Used by '$open_configuration_db'
nothing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.