powered by
A wrapper function using getFAO() to obtain and process multiple data set to obtain data.
getFAOtoSYB( name = NULL, domainCode = "RL", elementCode = 5110, itemCode = 6621, query, printURL = FALSE, useCHMT = TRUE, yearRange = NULL, countrySet = NULL, outputFormat = c("wide", "long"), returnFlags = FALSE )
A list containing the following elements
The entity level data
The aggregates provided by the FAO
The status of the download, whether success/failed
The name to be given to the variable.
The domain code of the variable, see details.
The element code of the variable, see details.
The item code of the variable, see details.
The object created if using the FAOsearch function
Whether the url link for the data should be printed
logical, whether the CHMT function should be
A numeric vector containing the years to be downloaded.
The FAOSTAT codes of those countries to be downloaded.
The format of the data, can be 'long' or 'wide'. appied to avoid double counting of China.
Logical, whether the flags should be returned. Only work with outputFormat long.
getWDI, getFAO, getWDItoSYB
getWDI
getFAO
getWDItoSYB
## The default option is the arable land area ## arlLand.lst = getFAOtoSYB()
Run the code above in your browser using DataLab