check_dbtable: Check if a table is available in a given ODBC connection

View source: R/check_dbtable.R

check_dbtableR Documentation

Check if a table is available in a given ODBC connection

Description

Check if a table is available in a given ODBC connection

Usage

check_dbtable(table, schema = "public", channel, error = TRUE)

Arguments

table

The name of the table

schema

The schema. Defaults to 'public'

channel

the open dplyr connection to the database.

error

Indicates the behaviour when a table is missing. Gives an error when error = TRUE (default). Return FALSE otherwise.

Value

TRUE when all tables are present in the ODBC connection.


INBO-Natura2000/n2khelper documentation built on April 5, 2022, 5:40 p.m.