View source: R/populateDBFunctions.R
dbCreateSchema | R Documentation |
Create all the domains and variables which are described in the SEND IG versions 3.0 and 3.1 in the database - i.e. a union of domains from the SEND IG versions and in each domain a union of variables from the SEND IG versions.
dbCreateSchema(dbToken)
dbToken |
Mandatory |
The database must be an SQLite database - no other types of databases are supported by this function.
No return value, called for side effects
## Not run: # Create an empty SQLite database and create the SEND schema myDbToken <- initEnvironment(dbType = 'sqlite', dbPath ='/mydatapath/db/send.db', dbCreate = TRUE) dbCreateSchema(myDbToken) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.