ExtEntryClass | R Documentation |
A class for generating a new entry class.
This class generates a new entry class from given parameters.
The new class can inherit directly from BiodbEntry
or
from one of its sub-classes: BiodbCsvEntry
, BiodbHtmlEntry
, ...
biodb::ExtGenerator
-> biodb::ExtFileGenerator
-> ExtEntryClass
new()
Initializer.
ExtEntryClass$new(...)
...
See the constructor of ExtFileGenerator for the parameters.
Nothing.
clone()
The objects of this class are cloneable with this method.
ExtEntryClass$clone(deep = FALSE)
deep
Whether to make a deep clone.
# Generate a new entry class inside R folder: pkgFolder <- file.path(tempfile(), 'biodbFoo') dir.create(pkgFolder, recursive=TRUE) biodb::ExtEntryClass$new(path=pkgFolder, dbName='foo.db', dbTitle='Foo database', connType='mass', entryType='xml')$generate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.