Learn R Programming

gooseR (version 0.1.2)

goose_template_apply: Apply Template with Variables

Description

Fill in template variables and execute query

Usage

goose_template_apply(template, ..., execute = TRUE)

Value

Filled template or query response

Arguments

template

Template object or name

...

Variable values

execute

Whether to execute the query

Examples

Run this code
if (FALSE) {
# Use the template
result <- goose_template_apply(
  review_template,
  language = "R",
  code = "function(x) x^2",
  focus = "efficiency and style"
)
}

Run the code above in your browser using DataLab