inst/doc/no-db.R

## ------------------------------------------------------------------------
library(whisker)
library(condusco)

## ------------------------------------------------------------------------

run_pipeline(
  #the pipeline
  function(params){
    query <- "SELECT result FROM {{table_prefix}}_results;"
    whisker.render(query,params)
  },
  #the swap
  data.frame(
    table_prefix = c('batman', 'robin')
  )
)

Try the condusco package in your browser

Any scripts or data that you put into this service are public.

condusco documentation built on May 2, 2019, 3:50 a.m.