hsDumpMdb: Export Database Tables to CSV Files

View source: R/dumpDatabase.R

hsDumpMdbR Documentation

Export Database Tables to CSV Files

Description

Deprecated. Please use dumpDatabase instead.

Usage

hsDumpMdb(
  mdb,
  ptrn = "^tbl",
  tdir = file.path(dirname(mdb), gsub("\\.", "_", basename(mdb))),
  create_target_dir = FALSE
)

Arguments

mdb

full path to database

ptrn

pattern matching names of tables to be exported. Default: "^tbl", i.e. tables starting with "tbl"

tdir

target directory. By default a new directory is created in the same directory as mdb resides in. The new directory has the same name as the database file with dots substituted with underscores

create_target_dir

if TRUE, the target directory tdir is created if it does not exist.


KWB-R/kwb.db documentation built on Oct. 1, 2023, 4:10 a.m.