View source: R/read_polygons.R
read_polygons | R Documentation |
Simple function to read spatial data into a SpatialPolygonsDataFrame. Based on st_read from package sf.
read_polygons(file)
file |
A file path pointing to a shapefile or GeoJSON file, or a
character string holding GeoJSON data. See the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.