powered by
Simple function to read spatial data into a SpatialPolygonsDataFrame. Based on st_read from package sf.
read_polygons(file)
A file path pointing to a shapefile or GeoJSON file, or a character string holding GeoJSON data. See the dsn argument of st_read for more details.
dsn
st_read