Skip to contents

Check first rows of the data

Usage

ddbs_glimpse(
  conn,
  name,
  crs = NULL,
  crs_column = "crs_duckspatial",
  quiet = FALSE
)

Arguments

conn

a connection object to a DuckDB database

name

a character string of length one specifying the name of the table, or a character string of length two specifying the schema and table names.

crs

the coordinates reference system of the data. Specify if the data doesn't have crs_column, and you know the crs

crs_column

a character string of length one specifying the column storing the CRS (created automatically by ddbs_write_vector)

quiet

A logical value. If TRUE, suppresses any informational messages. Defaults to FALSE.

Value

sf object

Examples

if (FALSE) { # interactive()
## TODO
}