sql_filter | R Documentation |
utility function to filter sql files
sql_filter(sql_precode = "IN", x, sql_code, flag = "-- insert species")
sql_precode |
change input e.g., ("=") |
x |
the variable to change (e.g., year) |
sql_code |
the sql query code... |
flag |
a flag in the sql code to place the precode and x in the appropriate location |
## Not run:
.d = sql_filter(sql_precode = "<=", 2011, sql_code = .d, flag = "-- insert year")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.