import_data | R Documentation |
Looks for "file" in "folder". If it exists, it attempts to run the query. The user may also pass a query directly to import_data.
import_data( file = "query.sql", folder = "sql", qry = NULL, config = NULL, 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. |
qry |
A query to import, without a 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. If the query doesn't return anything, you will receive an empty tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.