built-in (hidden) function that will accept the full path of a shapefile and parse the string into something that rgdal can understand (DSN + Layer).
1 | parseLayerDsn(x = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.