Learn R Programming

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

FAOSTAT (version 1.6)

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

465

Version

1.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Michael C J Kao

Last Published

March 14th, 2014

Functions in FAOSTAT (1.6)

FAOcountryProfile

Country profile
CHMT

This function avoids double counting of China
aggRegion

Function for computing regional aggregates
tsPanel

Function to plot data by country and time
constructSYB

Construct/Creat new variable.
FAOmetaTable

The search tree for FAOSTAT3
ebind

A function to bind the different entity level.
fillCountryCode

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

Access to FAO FAOSTAT API
translateCountryCode

A function to translate between different country coding systems
chConstruct

Construct year to year change
getFAO

Access to FAO FAOSTAT API
FAOcheck

This function perform some check on the data
getWDImetaData

World Bank Indicator Metadata
printLab

Print labels
grConstruct

Construct Growth rate
overlap

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

Absolute change between the year
indConstruct

Construct indices
shConstruct

Construct share variable
getWDItoSYB

Access to World Bank WDI API
dataDensity

A plot to show the availability of the data
sparsityHeatMap

Function for examine sparsity
getWDI

Access to World Bank WDI API
sparsity

A function to calculate the sparsity of the variable
FAOregionProfile

Regional profile
lsgr

Least squares growth rate
aggCountry

Function for aggregating entities into countries
geogr

Geometric growth rate
mergeSYB

Function for merging data from different source.
FAOsearch

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

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