txtdump: txtdump

View source: R/utils_DBIO.R

txtdumpR Documentation

txtdump

Description

txtdump

Usage

txtdump(db, table, remote = TRUE, dir = ".", cnf = config::get())

Arguments

db

db name

table

table name

remote

when TRUE the file is uploaded to a remote host defined in cnf

dir

directory path

cnf

configuration variables (host, user, pwd, remotehost) are obtained from an external file config file. default to config::get().

Value

path of the dumped file

Examples

## Not run: 

require(dup)
Sys.setenv(R_CONFIG_ACTIVE = "localhost")
txtdump(db = "ARGOS", table = "2019_LBDO")

## End(Not run)


mpio-be/dup documentation built on April 15, 2024, 8:10 p.m.