Description Usage Arguments Details Value See Also Examples
Read a Parquet file. Uses standard metadata information to identify geometry columns and coordinate reference system information.
1 | st_read_parquet(dsn, col_select = NULL, props = NULL, ...)
|
dsn |
character file path to a data source |
col_select |
A character vector of column names to keep. Default is
|
props |
Now deprecated in |
... |
additional parameters to pass to
|
Reference for the metadata used:
https://github.com/geopandas/geo-arrow-spec. These are standard with
the Python GeoPandas
library.
object of class sf
1 2 3 4 5 6 7 8 | # load Natural Earth low-res dataset.
# Created in Python with GeoPandas.to_parquet()
path <- system.file("extdata", package = "sfarrow")
world <- st_read_parquet(file.path(path, "world.parquet"))
world
plot(sf::st_geometry(world))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.