Check for presence of nasis_local ODBC data source

local_NASIS_defined(dsn = NULL)

Arguments

dsn

Optional: path to local SQLite database containing NASIS table structure; default: NULL

Value

logical

Examples



if(local_NASIS_defined()) {
  # use fetchNASIS or some other lower-level fetch function
} else {
  message('could not find `nasis_local` ODBC data source')
}
#> could not find `nasis_local` ODBC data source