Description Usage Arguments Details Value Examples
Function to extract a single, complete data table from a relational data base. Especially useful for the extraction of the meta information stored in Meta_Data
.
1 | dbSingleDF(dfName = "Meta_Data", filePath)
|
dfName |
Name of the data table which should be extracted. |
filePath |
Path of the existing db file. |
This function makes use of the DBI::dbReadTable
function and extracts a complete data table from a data base. All variables are extracted and all rows are used. For extracting only some variables or merging data tables see dbPull
.
Returns a data frame with all variables and cases as in the corresponding data table.
1 2 3 4 5 6 7 8 9 | db_path <- system.file("extdata", "example_dataBase.db", package = "eatDB")
## Extract all meta information
meta_data <- dbSingleDF(dfName = "Meta_Data", filePath = db_path)
meta_data
## Extract a specific data table
NoImp <- dbSingleDF(dfName = "NoImp", filePath = db_path)
NoImp
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.