Description Usage Arguments Format Details Value See Also Examples
Convert lazysf to an in memory data frame or sf object
1 2 3 4 |
x |
output of |
... |
passed to |
An object of class function
of length 1.
collect()
retrieves data into a local table, preserving grouping and ordering.
st_as_sf()
retrieves data into a local sf data frame (will succeed only if there is a geometry column of class sfc
)
a data frame from collect()
, sf data frame from st_as_sf()
(only if it contains an sfc
geometry column)
lazysf
1 2 3 | f <- system.file("gpkg/nc.gpkg", package = "sf", mustWork = TRUE)
lsf <- lazysf(f) %>% dplyr::select(AREA, FIPS, geom) %>% dplyr::filter(AREA < 0.1)
st_as_sf(lsf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.