dbTableList: List names of the tables in the MFE database

View source: R/dbUtil.R

dbTableListR Documentation

List names of the tables in the MFE database

Description

List names of the tables in the MFE database

Usage

dbTableList(fpath = dbdir, dbname = db)

Arguments

fpath

By default, the dbdir variable, which is defined in the global environment (usually at the beginning of each analysis script)

dbname

A character string containing the name of the .db file you want to access. By default, the globally-defined db variable is used.

Value

A vector of table names

Examples

#dbdir <- here("currentDB")
#db <- "MFEdb.db" # though note that it's best practice to specify 
# a database version with date attached.
#dbTableList(dbdir, db) # in this case, equivalent to dbTableList() 
# or dbTableList(fpath = dbdir, dbname = db)

MFEh2o/MFEUtilities documentation built on May 6, 2023, 1:33 p.m.