Executes an arbitrary SQL query and returns the result as a tibble. Useful for custom aggregation, filtering, and analysis directly in the database.
Arguments
- conn
A DBI connection object from
db_init().- sql
Character. SQL query string.
Executes an arbitrary SQL query and returns the result as a tibble. Useful for custom aggregation, filtering, and analysis directly in the database.
A DBI connection object from db_init().
Character. SQL query string.