Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CHMT

This function avoids double counting of China.


Description

This function should only be used when performing aggregations.

Usage

CHMT(var, data, year = "Year")

Arguments

var

The variables that require to be sanitized.

data

The data frame which contains the data

year

The column which correspond to the year.

Details

We decide to use the smaller subsets in the regional level because weighting variable may not exist for other variables for the larger subsets.

The function only work for FAOST_CODE, if the country coding system is not in FAOST_CODE then use the translateCountryCode function to translate it.


FAOSTAT

Download Data from the FAOSTAT Database

v2.2.1
GPL (>= 2)
Authors
Michael C. J. Kao <michael.kao@fao.org>, Markus Gesmann, Filippo Gheri
Initial release
2020-11-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.