Learn R Programming

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

FAOSTAT (version 2.3.0)

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

428

Version

2.3.0

License

GPL (>= 2)

Maintainer

Paul Rougieux

Last Published

March 30th, 2023

Functions in FAOSTAT (2.3.0)

fillCountryCode

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

Construct/Creat new variable.
chgr

Absolute change between the year
overlap

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

Construct Growth rate
download_faostat_bulk

Download bulk data from the faostat website https://www.fao.org/faostat/en/#data
ebind

A function to bind the different entity level.
read_fao

Access FAOSTAT API
read_dataset_dimension

Examine dimensions of a dataset
printLab

Print labels
translateUnit

Function to translate multipliers
shConstruct

Construct share variable
scaleUnit

A function to standardize the unit
search_dataset

Search FAOSTAT dataset_codes, datasets, elements, indicators, and items
indConstruct

Construct indices
mergeSYB

Function for merging data from different source.
lsgr

Least squares growth rate
translate_countrycodes

A function to translate between different country coding systems
check_cache

Cache files read in by the API
check_country_overlap

This function perform some check on the data
change_case

Change case of column names
Aggregation

Compute Aggregates
CHMT

This function avoids double counting of China.
chConstruct

Construct year to year change
getWDI

Access to World Bank WDI API
getWDImetaData

World Bank Indicator Metadata
getWDItoSYB

Access to World Bank WDI API
get_fao

REST functions to connect to FAO
FAOcountryProfile

Country profile
FAOSTAT-package

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

Geometric growth rate
FAOmetaTable

The search tree for FAOSTAT3
FAOregionProfile

Regional profile