get_sql_query_func | R Documentation |
Produces a function that can be queried against any DBI backend (e.g. DuckDB)
get_sql_query_func(query_num)
query_num |
the query number to fetch the result for |
The function that is returned takes the following arguments. The first two are suppleid to match the signature of those in tpc_h_queries
input_func
set to default NULL
, will have no effect if supplied
collect_func
set to default NULL
, will have no effect if supplied
con
a (DBI) connection to query against
a function that accepts an argument con
which will run
DBI::dbGetQuery()
against.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.