Description Usage Details References
View source: R/2_countries_polys.R
Downloads from Natural Earth two shapefiles - 10 m and 50 m precision - with
the world countries polygons and transforms them into two
SpatialPolygonsDataFrame that are saved in a folder called 'polys', inside
the user's working directory. The data that they contain is necessary for the
functions get_country
and get_country_shoreline
.
1 |
The two SpatialPolygonsDataFrame are saved in the working directory, inside
the 'polys' folder as .rda files and they are loaded from there when running
the functions get_country
and
get_country_shoreline
.
Shapefiles:
Shapefiles metadata:
http://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-0-countries/
http://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/
Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.