Description Usage Arguments Examples
Runs user-provided pipeline for each row of arguments in parameters, converting any JSON strings to objects
1 | run_pipeline(pipeline, parameters)
|
pipeline |
User-provided function with one argument, a dataframe |
parameters |
An dataframe of fields to convert to json |
1 2 3 4 5 6 7 8 9 10 11 | library(whisker)
run_pipeline(
function(params){
query <- "SELECT result FROM {{table_prefix}}_results;"
whisker.render(query,params)
},
data.frame(
table_prefix = c('batman', 'robin')
)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.