View source: R/ddbs_ops_unary.R
| ddbs_drop_geometry | R Documentation |
Removes the geometry column from a duckspatial_df object, returning a
lazy tibble without spatial information.
ddbs_drop_geometry(x)
x |
Input spatial data. Can be:
Data is returned from this object. |
A lazy tibble backed by dbplyr
## Not run:
## load package
library(duckspatial)
## read data
countries_ddbs <- ddbs_open_dataset(
system.file("spatial/countries.geojson",
package = "duckspatial")
)
## drop geometry column
countries_tbl <- ddbs_drop_geometry(countries_ddbs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.