View source: R/duckdb-helpers.R
spod_read_sql | R Documentation |
Load an SQL query from a specified file in package installation directory, glue::collapse it, glue::glue it in case of any variables that need to be replaced, and dplyr::sql it for additional safety.
spod_read_sql(sql_file_name)
sql_file_name |
The name of the SQL file to load from the package installation directory. |
Text of the SQL query of class sql
/character
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.