ExtConnClass | R Documentation |
A class for generating a new connector class.
This class generates a new connector class from given parameters.
The new class inherits from BiodbConn
.
It can be defined as a compound or mass database connector, and made
downloadable, editable and/or writable.
biodb::ExtGenerator
-> biodb::ExtFileGenerator
-> ExtConnClass
new()
Initializer.
ExtConnClass$new(...)
...
See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()
The objects of this class are cloneable with this method.
ExtConnClass$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Generate a new connector class inside R folder: pkgFolder <- file.path(tempfile(), 'biodbFoo') dir.create(pkgFolder, recursive=TRUE) biodb::ExtConnClass$new(path=pkgFolder, dbName='foo.db', dbTitle='Foo database', connType='mass', remote=TRUE)$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.