Description Usage Arguments Value
Considerately run a SQL query, closing the database connection on completion.
1 2 3 4 5 6 7 8 |
db_name |
A list containing database credentials |
qry |
A character string containing a SQL query |
qry_path |
A character string containing a path to a .sql file |
config_path |
Optional character string with the location to the config file with database connection details |
driver |
Optional character string specifying the database driver to use (currently supports 'odbc' (default) or 'ROracle'. |
... |
Optional arguments to be passed to write.csv |
A data frame containing records fetched by a SQL query
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.