This object allows the data to be either a standard R data.frame
or
a connection to a database.
Usage
inzdf(x, name, ...)
# S3 method for class 'tbl_df'
inzdf(x, name, ...)
# S3 method for class 'data.frame'
inzdf(x, name, ...)
# S3 method for class 'SQLiteConnection'
inzdf(
x,
name = deparse(substitute(x)),
schema = NULL,
var_attrs = list(),
dictionary = NULL,
keep_con = FALSE,
...
)
Arguments
- x
a data.frame or db connection
- name
the name of the data
- ...
additional arguments passed to methods
- schema
a list specifying the schema of the database (used for linking)
- var_attrs
nested list of variables attributes for each table > variable
- dictionary
an inzdict object
- keep_con
if `TRUE` data will remain in DB (use for very large data)