Description Usage Arguments Details
This function converts SpatialPolygonsDataFrame to data.frame for easier importing to OpenDataBio.
1 |
data |
SpatialPolygonsDataFrame to be converted |
name_arg |
a vector of names to be used |
adm_level_arg |
a vector of adm_levels to be used |
This function requires that the suggested package 'rgeos' is installed. It fills some of the fields using the data supplied, and works best with http://gadm.org data. NOTE: this function is deprecated and will be replaced by a more in-depth vignette.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.