collect.overture_call | R Documentation |
Collects a lazy dbplyr view and materializes it as an
in-memory sf
table. collect_sf
is a deprecated alias.
## S3 method for class 'overture_call'
collect(x, ..., geom_col = "geometry", crs = 4326)
collect_sf(...)
x |
A lazy data frame backed by a database query. |
... |
Further arguments passed to |
geom_col |
The name of the geometry column. Will auto-detect names matching 'geom'. |
crs |
The coordinate reference system to use for the geometries, specified by its EPSG code. The default is 4326 (WGS 84). |
An 'sf' object with the dataset converted to spatial features.
bbox <- c(xmin = -120.5, ymin = 35.5, xmax = -120.0, ymax = 36.0)
lazy_tbl <- open_curtain("building", bbox)
collect(lazy_tbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.