- files
vector of filenames to be read in. Must be tsv
format, optionally compressed using bzip2, gzip, zip,
or xz format at present.
- db_con
a database src (src_dbi object from dplyr)
- streamable_table
interface for serializing/deserializing in chunks
- lines
number of lines to read in a chunk.
- overwrite
should any existing text files of the same name be overwritten?
default is "ask", which will ask for confirmation in an interactive session, and
overwrite in a non-interactive script. TRUE will always overwrite, FALSE will
always skip such tables.
- encoding
encoding to be assumed for input files.
- tablenames
vector of tablenames to be used for corresponding files.
By default, tables will be named using lowercase names from file basename with
special characters replaced with underscores (for SQL compatibility).
- try_native
logical, default TRUE. Should we try to use a native bulk
import method for the database connection? This can substantially speed up
read times and will fall back on the DBI method for any table that fails
to import. Currently only MonetDBLite connections support this.
- ...
additional arguments to streamable_table$read method.