If the SQL query executes successfully, the return value will be an
object of class tibble. If an error is encountered,
the return value will be inherited from the error_value argument
provided (default is NA).
Arguments
con
An object that inherits from
DBIConnection-class, typically generated by
dbConnect()
table
A character string specifying the DBMS table name.
schema
A character string specifying the schema in which the table is
nested.
collect
A logical specifying whether the query results should be
collected into memory or left as a lazy query.
error_value
Error value to return if dbReadTable()
fails. Default is NA.