Skip to content

Food and Agriculture Organisation of the United Nations (FAO) GIS R tools

Notifications You must be signed in to change notification settings

UNFAOstatistics/gisfao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • 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

  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

About

Food and Agriculture Organisation of the United Nations (FAO) GIS R tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages