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:
- RAF (Africa)
- LAC (Latin America and the Caribbean)
- RAP (Asia and the Pacific)
- REU (Europe and Central Asia)
- RNE (Near East and North Africa)
Shapefiles included
- World Country Polygons
fao_world
- classSpatialPolygonDataFRame
- World Country Polygons Centroids
fao_world_centroids
- classSpatialPointDataFRame
See vignettes at
- https://github.com/UNFAOstatistics/gisfao/blob/master/vignettes/gisfao_vignette.md
- https://github.com/UNFAOstatistics/gisfao/blob/master/vignettes/gisfao_faostat_vignette.md
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)