How to use dynamic values while executing SQL scripts in R

后端 未结 2 945
执笔经年
执笔经年 2021-01-15 03:52

My R workflow now involves dealing with a lot of queries (RPostgreSQL library). I really want to make code easy to maintain and manage in the future.

I

2条回答
  •  悲哀的现实
    2021-01-15 04:32

    sqlInterpolate() is for substituting values only, not other components like table names. You could use other templating frameworks such as brew or whisker.

提交回复
热议问题