Description Usage Arguments Details Value
This function is intended to read a long and complex SQL query from a file, where it could be edited in a SQL editor, that can then be submitted as a postgreSQL query.
1 | getSQL(filepath)
|
filepath |
The filepath of the SQL file. |
This function is based on code obtained from: https://stackoverflow.com/questions/44853322/how-to-read-the-contents-of-an-sql-file-into-an-r-script-to-run-a-query?noredirect=1&lq=1.
A formatted sql query as a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.