Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sf-defunct

Deprecated functions in sf


Description

These functions are provided for compatibility with older version of sf. They may eventually be completely removed.

Usage

st_read_db(
  conn = NULL,
  table = NULL,
  query = NULL,
  geom_column = NULL,
  EWKB = TRUE,
  ...
)

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

Details

The geom_column argument is deprecated. The function will automatically find the geometry type columns. For the RPostgreSQL drivers it will try to cast all the character columns, which can be long for very wide tables.

Details

st_read_db now a synonym for st_read
st_write_db now a synonym for st_write

sf

Simple Features for R

v0.9-8
GPL-2 | MIT + file LICENSE
Authors
Edzer Pebesma [aut, cre] (<https://orcid.org/0000-0001-8049-7069>), Roger Bivand [ctb] (<https://orcid.org/0000-0003-2392-6140>), Etienne Racine [ctb], Michael Sumner [ctb], Ian Cook [ctb], Tim Keitt [ctb], Robin Lovelace [ctb], Hadley Wickham [ctb], Jeroen Ooms [ctb] (<https://orcid.org/0000-0002-4035-0289>), Kirill Müller [ctb], Thomas Lin Pedersen [ctb], Dan Baston [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.