Learn R Programming

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

FAOSTAT (version 2.2.1)

Download Data from the FAOSTAT Database

Description

Download Data from the FAOSTAT Database of the Food and Agricultural Organization (FAO) of the United Nations. A list of functions to download statistics from FAOSTAT (database of the FAO ) and WDI (database of the World Bank ), and to perform some harmonization operations.

Copy Link

Version

Install

install.packages('FAOSTAT')

Monthly Downloads

501

Version

2.2.1

License

GPL (>= 2)

Maintainer

Last Published

November 13th, 2020

Functions in FAOSTAT (2.2.1)

FAOSTAT-package

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

Construct year to year change
constructSYB

Construct/Creat new variable.
FAOsearch

Search FAOSTAT tables
FAOregionProfile

Regional profile
chgr

Absolute change between the year
Aggregation

Compute Aggregates
ebind

A function to bind the different entity level.
download_faostat_bulk

Download bulk data from the faostat website http://www.fao.org/faostat/en/#data
grConstruct

Construct Growth rate
indConstruct

Construct indices
FAOmetaTable

The search tree for FAOSTAT3
translateUnit

Function to translate multipliers
translateCountryCode

A function to translate between different country coding systems
getFAO

Access to FAO FAOSTAT API.
scaleUnit

A function to standardize the unit
geogr

Geometric growth rate
CHMT

This function avoids double counting of China.
FAOcountryProfile

Country profile
fillCountryCode

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

World Bank Indicator Metadata
lsgr

Least squares growth rate
shConstruct

Construct share variable
overlap

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

Function for merging data from different source.
printLab

Print labels
getWDItoSYB

Access to World Bank WDI API
getFAOtoSYB

Access to FAO FAOSTAT API
getWDI

Access to World Bank WDI API
FAOcheck

This function perform some check on the data