This function extracts the database tables into csv files
exportDatabaseToCsv(
connectionDetails,
resultSchema,
targetDialect = NULL,
tablePrefix = "c_",
filePrefix = NULL,
tempEmulationSchema = getOption("sqlRenderTempEmulationSchema"),
saveDirectory,
minMeanCovariateValue = 0.001
)
The connection details to input into the
function connect
in the
DatabaseConnector
package.
The name of the database schema that the result tables will be created.
DEPRECATED: derived from connectionDetails
.
The table prefix to apply to the characterization result tables
The prefix to apply to the files
The temp schema used when the database management system is oracle
The directory to save the csv results
The minimum mean covariate value (i.e. the minimum proportion for binary covariates) for a covariate to be included in covariate table. Other covariates are removed to save space.
csv file per table into the saveDirectory
This function extracts the database tables into csv files