Learn R Programming

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

FAOSTAT (version 2.0)

Download Data from the FAOSTAT Database of the Food and Agricultural Organization (FAO) of the United Nations

Description

A list of functions to 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

2.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Filippo Gheri

Last Published

June 2nd, 2015

Functions in FAOSTAT (2.0)

FAOmetaTable

The search tree for FAOSTAT3
chgr

Absolute change between the year
fillCountryCode

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

Country profile
FAOsearch

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

Regional profile
getWDImetaData

World Bank Indicator Metadata
CHMT

This function avoids double counting of China.
getFAO

Access to FAO FAOSTAT API.
geogr

Geometric growth rate
FAOcheck

This function perform some check on the data
getWDItoSYB

Access to World Bank WDI API
lsgr

Least squares growth rate
shConstruct

Construct share variable
mergeSYB

Function for merging data from different source.
grConstruct

Construct Growth rate
Aggregation

Compute Aggregates
ebind

A function to bind the different entity level.
getWDI

Access to World Bank WDI API
getFAOtoSYB

Access to FAO FAOSTAT API
indConstruct

Construct indices
printLab

Print labels
translateCountryCode

A function to translate between different country coding systems
constructSYB

Construct/Creat new variable.
overlap

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

Construct year to year change
translateUnit

Function to translate multipliers
scaleUnit

A function to standardize the unit
FAOSTAT-package

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