These functions are provided for compatibility with older version of sf
.
They will eventually be completely removed.
Use
st_read()
instead ofst_read_db()
.Use
st_write()
instead_ofst_write_db()
Usage
st_read_db(
conn = NULL,
table = NULL,
query = NULL,
geom_column = NULL,
EWKB = TRUE,
...
)
st_write_db(
conn = NULL,
obj,
table = deparse(substitute(obj)),
...,
drop = FALSE,
append = FALSE
)
Arguments
- conn
open database connection
- table
table name
- query
SQL query to select records; see details
- geom_column
deprecated. Geometry column name
- EWKB
logical; is the WKB of type EWKB? if missing, defaults to
TRUE
- ...
parameter(s) passed on to st_as_sf