Run a query and return the result as a data frame or sf
Arguments
- x
a dplyr tbl object or a character string containing a SQL query.
- ref
a list containing the table schema and name.
- conn
a connection object. Only required if x is a character string.
Value
a data frame or sf object