Exports a data frame object to a specified output.
datExportData(
dfobj,
create_dsn = FALSE,
index.unique = NULL,
index = NULL,
lowernames = FALSE,
savedata_opts = savedata_options(),
dbconn = NULL,
dbconnopen = TRUE
)
An sf spatial object is written to the out_dsn.
Data.frame class R object. Data frame object to export.
Boolean.
String. Name of variable(s) in dfobj to make unique index.
String. Name of variable(s) in dfobj to make (non-unique) index.
Logical. If TRUE, convert column names to lowercase before writing to output. dbconnopen Logical. If TRUE, keep database connection open.
List. See help(savedata_options()) for a list of options.
Open database connection.
Logical. If TRUE, keep database connection open.
Tracey S. Frescino
Wrapper for sf::st_write function.