gisfao
package provides you with the up-to-data shapefiles that are compatible with FAOSTAT country codes (FAO_CODE
). Also, shapefiles data slots have a dummy variable for each FAO regions which you can subset the shapefile with. Fao regions are:
Shapefiles included
fao_world
- class SpatialPolygonDataFRame
fao_world_centroids
- class SpatialPointDataFRame
See vignettes at
for more detailed examples.
devtools::install_github('UNFAOstatistics/gisfao')
library(gisfao) library(sp) data(fao_world) plot(fao_world) data(fao_world_centroids) plot(fao_world_centroids) data(graticule) plot(graticule)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.