dbNames {eatDB} | R Documentation |
Get variable names from a relational data base.
Description
Function to get the names of the variables included in the relational data base.
Usage
dbNames(filePath, includeMeta = FALSE)
Arguments
filePath |
Path of an existing |
includeMeta |
Should the variable names of the |
Details
Extracts names of all variables included in the relational data base, structured as a list with the individual data tables as elements. The ordering in the list is equivalent to the merge order used when data is pulled from the data base.
Value
Returns a named list of character vectors with the variables names included in the data tables.
Examples
db_path <- system.file("extdata", "example_dataBase.db", package = "eatDB")
varNames <- dbNames(db_path)
## Names of data tables
names(varNames)
## Variable names in data table "NoImp"
varNames$NoImp
[Package eatDB version 0.5.0 Index]