Description Usage Arguments Value Examples
Creates an HTML table for all or selected models in the [TRIGGER_PATH]/Models/ folder. This table is used as part of a message being sent out to a receiving e-mail client.
1 | ListModels(path = NULL, SelectMDL = NULL)
|
path |
string, path to the /Models/ folder. |
SelectMDL |
integer, Model ID value determined from MobileTrigger::ListModels() output when SelectMDL = NULL |
If SelectMDL = NULL: An HTML table of all models in the /Models/ folder. If SelectMDL is a ModelID number from the complete model list it only returns and HTML table with the selected model
1 2 3 4 5 6 7 8 9 10 11 12 | ################################
# Get all the Available Models #
################################
MODELPATH <- "C:/Triggers/Models/"
HTML.Message <- ListModels(path = MODELPATH)
## Use the HTML.Message to send table of Models with MailR package.
#############################
# Get Selected Model #
#############################
HTML.Message <- ListModels(path = MODELPATH, SelectMDL = 1)
## Use the HTML.Message to send table of Selected Model with MailR package.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.