sf
object to DatabaseWrite sf
object to Database
Write sf
object to Database
# S4 method for PostgreSQLConnection,character,sf
dbWriteTable(
conn,
name,
value,
...,
row.names = FALSE,
overwrite = FALSE,
append = FALSE,
field.types = NULL,
binary = TRUE
)# S4 method for DBIObject,character,sf
dbWriteTable(
conn,
name,
value,
...,
row.names = FALSE,
overwrite = FALSE,
append = FALSE,
field.types = NULL,
binary = TRUE
)
DBIObject
character vector of names (table names, fields, keywords).
a data.frame.
placeholder for future use.
Add a row.name
column, or a vector of length nrow(obj)
containing row.names; default FALSE
.
Will try to drop
table before writing; default FALSE
.
Append rows to existing table; default FALSE
.
default NULL
. Allows to override type conversion from R
to PostgreSQL. See dbDataType()
for details.
Send geometries serialized as Well-Known Binary (WKB);
if FALSE
, uses Well-Known Text (WKT). Defaults to TRUE
(WKB).