Description Usage Arguments Value Examples
quis.addScript
Adds one or more statements to the current process. Each engine instance works on one process at a time.
1 | quis.addScript(engine, statement)
|
engine |
the engine instance created by |
statement |
the statement to be submitted to the engine for later execution. Statements are of one of these types: PERSPECTIVE, CONNECTION, BINDING, SELECT. A minimum process needs at least one connection. one binding, and one select. It is possible to have any number of these statements, but they have to follow the abovementioned order, which means e.g., all perspectives go before all connections and so on. |
the added script is returned. Usually the return value is not needed, but in case of debugging it may be useful.
1 2 3 4 5 6 7 8 9 10 11 12 | engine1 <- quis.getEngine()
script <- "CONNECTION cnn1 ADAPTER=CSV SOURCE_URI='extdata/'
PARAMETERS=delimiter:comma, fileExtension:csv, firstRowIsHeader:true"
addedScript <- quis.addScript(engine1, script)
## Not run:
engine1 <- quis.getEngine()
script <- "CONNECTION cnn1 ADAPTER=CSV SOURCE_URI='extdata/'
PARAMETERS=delimiter:comma, fileExtension:csv, firstRowIsHeader:true"
addedScript <- quis.addScript(engine1, script)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.