import_data | R Documentation |
Looks for "file" in "folder". If it exists, it attempts to run the query AFTER running validation.sql if it exists. If validation.sql exists, all rows must return 1 (TRUE) before the report query in "file" will be run. If validation.sql fails, the function will stop for the number of seconds defined in wait_time before trying to rerun validation.sql.
import_data(file = "query.sql", folder = "sql", verbose = FALSE, params = NULL)
file |
The file where the query lives. |
folder |
The folder where the query lives. If validation.sql is in this folder it will be run BEFORE the sql file. |
verbose |
If TRUE, this function talks a lot. Useful for debugging connection issues and not much else. |
params |
A LIST of parameters to alter the query. |
A data frame with your data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.