Learn R Programming

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

FAOSTAT (version 1.1)

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 download, manipulate, construct and aggregate agricultural statistics provided by the FAOSTAT database of the Food and Agricultural Organization of the United Nations.

Copy Link

Version

Install

install.packages('FAOSTAT')

Monthly Downloads

428

Version

1.1

License

GPL (>= 2)

Maintainer

Michael C J Kao

Last Published

February 1st, 2013

Functions in FAOSTAT (1.1)

chConstruct

Construct year to year change
FAOsearch

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

Function for aggregating entities into countries
indConstruct

Construct indices
CHMT

This function avoids double counting of China
overlap

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

Function for computing regional aggregates
printLab

Print labels
grConstruct

Construct Growth rate
getWDImetaData

World Bank Indicator Metadata
FAOmetaTable

The search tree for FAOSTAT3
FAOSTAT-package

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

Absolute change between the year
fillCountryCode

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

Access to FAO FAOSTAT API
getWDItoSYB

Access to World Bank WDI API
shConstruct

Construct share variable
FAOregionProfile

Regional profile
FAOcountryProfile

Country profile
translateCountryCode

A function to translate between different country coding systems
FAOcheck

This function perform some check on the data
sparsity

A function to calculate the sparsity of the variable
lsgr

Least squares growth rate
getFAOtoSYB

Access to FAO FAOSTAT API
mergeSYB

Function for merging data from different source.
getWDI

Access to World Bank WDI API
ebind

A function to bind the different entity level.
constructSYB

Construct/Creat new variable.
geogr

Geometric growth rate