Description Usage Arguments Details Note Author(s) See Also Examples
View source: R/loadDatabaseSchema.R
Load a database schema file to the compendium database in the
MySQL
server
1 | loadDatabaseSchema(con, updateSchema = FALSE , file = "")
|
con |
|
updateSchema |
logical, default value is |
file |
character string, default value is |
See http://wiki.bioinformaticslaboratory.nl/foswiki/bin/view/BioLab/CompendiumDB for a detailed description of the database schema.
Execute this function only after having created the database
specified in the connection object in the MySQL
server. Set the updateSchema
value TRUE
only before filling the database with
series record data for the first time, or if you want to delete all the records of the
database and reload the schema. In the latter case the user will be prompted whether
(s)he really wants to update the current schema and delete all data in
the compendium database.
Umesh K. Nandal
1 2 3 4 5 | ## Not run:
conn <- connectDatabase(user="usrname",password="passwd",dbname="compendium")
loadDatabaseSchema(conn,updateSchema=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.