Creates a Simple Feature (sf) object from full path string to ESRI Shapefile or GeoJSON file. User defines which field is supposed to represent the ID for the data.
1 | load_shp(file_pth)
|
file_pth |
Full path to shapefile with extention (.shp). Shapefiles must contain at least .shp, .shx, and .dbf file to function properly. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.