README.md

gisfao

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

  1. World Country Polygons fao_world - class SpatialPolygonDataFRame
  2. World Country Polygons Centroids fao_world_centroids - class SpatialPointDataFRame

See vignettes at

for more detailed examples.

Install packages

devtools::install_github('UNFAOstatistics/gisfao')

Load and plot the polygon data

library(gisfao)
library(sp)
data(fao_world)
plot(fao_world)

plot of chunk plot01

data(fao_world_centroids)
plot(fao_world_centroids)

plot of chunk plot01

data(graticule)
plot(graticule)

plot of chunk plot01



UNFAOstatistics/gisfao documentation built on May 9, 2019, 7:47 p.m.