Create a memory or file-based instance of NASIS database
Source:R/createStaticNASIS.R
createStaticNASIS.RdCreate a memory or file-based instance of NASIS database for selected tables.
Usage
createStaticNASIS(
tables = NULL,
new_names = NULL,
SS = TRUE,
dsn = NULL,
output_path = NULL,
verbose = FALSE
)Arguments
- tables
Character vector of target tables. Default:
NULLis whatever tables are listed byDBI::dbListTablesfor the connection typ being used.- new_names
Optional: new table names (should match length of vector of matching
tablesindsn)- SS
Logical. Include "selected set" tables (ending with suffix
"_View_1"). Default:TRUE- dsn
Optional: path to SQLite database containing NASIS table structure; or a
DBIConnection. Default:NULL- output_path
Optional: path to new/existing SQLite database to write tables to. Default:
NULLreturns table results as named list.- verbose
Show error messages from attempts to dump individual tables? Default
FALSE