Description Usage Arguments Value Author(s) Examples
Load country boundaries into a SpatialPolygonsDataFrame
object
| 1 | load_boundary(x = NULL, country_code = "world", adm_level = 0, ...)
 | 
| x | If missing,  | 
| country_code | Country specified by three letter ISO code. Use function
 | 
| adm_level | Level of administrative subdivision 0 = country, 1 = first level subdivision | 
| ... | Other arguments to  | 
A SpatialPolygonsDataFrame object storing country
boundaries.
Nils Noelke, Sebastian Schnell
| 1 2 3 4 5 6 | # Load boundary of Germany
ger_bnd <- load_boundary(country_code = "DEU", adm_level = 0);
plot(ger_bnd);
# Load boundary of several countries
bnd <- load_boundary(country_code = c("DEU", "ITA", "FRA"));
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.