Description Usage Arguments Examples
Generic template filler (internal)
1 | sql.fill.template(template.name, query.names, param.list)
|
template.name |
the name of the template |
query.names |
the vector of names of the generated queries (in the genereated query list) |
param.list |
the (named) list with names of parameters to be replaced and the values to be substituted |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | sql.fill.template(
"dictionary_values",
query.names="q1",
list("%%DICTKEY%%" = "abd", "%%QUERY%%" = "bca")
)
sql.fill.template(
"dictionary_values",
query.names = c("q1","q2"),
list("%%QUERY%%" = c("bca", "bcb"), "%%DICTKEY%%" = c("abd"))
)
sql.fill.template(
"dictionary_values",
query.names = c("q1", "q2"),
list("%%QUERY%%" = c("bca", "bcb"), "%%DICTKEY%%"=c("abc", "abd"))
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.