View source: R/custom_modules.R
create_module | R Documentation |
Create the template of a new Wallace module.
create_module(id, dir, map = FALSE, result = FALSE, rmd = FALSE, save = FALSE)
id |
The id of the module. |
dir |
A directory where the new module should be created. |
map |
Whether or not the module should support modifying the map. |
result |
Whether or not the module should support showing information in the Result tab. |
rmd |
Whether or not the module should add Rmd code to the Session Code download. |
save |
Whether or not the module has some custom data to save when the user saves the current session. |
register_module
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.