Learn R Programming

⚠️There's a newer version (2.4.0) of this package.Take me there.

FAOSTAT (version 1.9)

A complementary package to the FAOSTAT database and the Statistical Yearbook of the Food and Agricultural Organization of the United Nations.

Description

The package hosts a list of functions to automatically download statistics from FAOSTAT (database of the Food and Agricultural Organization of the United Nations) and WDI (database of the World Bank), and to perform some harmonization operations.

Copy Link

Version

Install

install.packages('FAOSTAT')

Monthly Downloads

428

Version

1.9

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Filippo Gheri

Last Published

October 28th, 2014

Functions in FAOSTAT (1.9)

Aggregation

Compute Aggregates
translateCountryCode

A function to translate between different country coding systems
FAOcountryProfile

Country profile
mergeSYB

Function for merging data from different source.
constructSYB

Construct/Creat new variable.
getWDImetaData

World Bank Indicator Metadata
printLab

Print labels
grConstruct

Construct Growth rate
getFAO

Access to FAO FAOSTAT API.
FAOsearch

A function to find the domain, element and item code for a specific FAOSTAT query.
chgr

Absolute change between the year
shConstruct

Construct share variable
FAOregionProfile

Regional profile
translateUnit

Function to translate unit
lsgr

Least squares growth rate
indConstruct

Construct indices
fillCountryCode

A function to get country code when not available in data.
ebind

A function to bind the different entity level.
scaleUnit

A function to standardize the unit
getWDItoSYB

Access to World Bank WDI API
getFAOtoSYB

Access to FAO FAOSTAT API
chConstruct

Construct year to year change
geogr

Geometric growth rate
FAOcheck

This function perform some check on the data
FAOmetaTable

The search tree for FAOSTAT3
CHMT

This function avoids double counting of China.
FAOSTAT-package

A complementary package to the FAOSTAT database and the Statistical Yearbook of the Food and Agricultural Organization of the United Nations.
overlap

This function checks whether there are overlapping between the transitional countries.
getWDI

Access to World Bank WDI API