render: Render operator.

Description Usage Arguments Value See Also Examples

View source: R/render.R

Description

Vectorizes function whisker.render.

NOTE: Because whisker does not support variable names inlcuding dots, a dot in column names is replaced by an underscore. Therefore, you must use an underscore in the template text for varibales including dots.

Usage

1
template %$$% data

Arguments

template

template

data

data frame where column names correspond to variables names in template

Value

rendered template

See Also

whisker.render

Examples

1
2
vars <- data.frame(a = 1:3, b = 23:21)
"a = {{a}} and b = {{b}}" %$$% vars

owmr documentation built on Jan. 11, 2020, 5:08 p.m.