Re: Interpolation of strings in SQL queries

51 views
Skip to first unread message

Kenton White

unread,
Feb 25, 2014, 9:52:40 AM2/25/14
to project...@googlegroups.com, cbr...@decisionpatterns.com
HI Chris,

Short answer is I didn't know about the whisker library! I think using mustache is an excellent idea and will look in to making it the preferred method for string interpolation going forward. Thanks!

BTW, most of the activity / discussion is happening on the GitHub issues page now (https://github.com/johnmyleswhite/ProjectTemplate/issues)

Kenton White

On Feb 24, 2014, at 4:35 PM, cbr...@decisionpatterns.com wrote:

Hi ProjectTemplate maintainers,

I noticed that version 0.4-5 contained a very useful change, namely:

* Allow string interpolation of R functions in sql queries

I also noticed that syntax for the interpolation is to prefix a delimit the code with @@{..}.  I am curious to know why not adopt Mustache which seems to popular and common and implemented by the CRAN package whisker.  It seems that it would make more sense to adopt mustache/whisker rather than introduce yet another interpolation syntax.

Thanks for the great package BTW.

Chris

--
You received this message because you are subscribed to the Google Groups "ProjectTemplate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projecttempla...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages