FAOSTATpackage
FAOSTATpackage copied to clipboard
The full FAOSTAT package including build
I'm having trouble pulling data from TM with the getFAOtoSYB(). I run the following search to get the appropriate TM codes: FAOsearch() # 2; 3; 0; All; 4 I then...
Hello, I have an issue when trying to download data from FAOSTAT. A query has no data. Could you please confirm? Could it be fixed? wheatYield = getFAOtoSYB(name = "wheatYield",...
I am trying: ``` getFAOtoSYB(domainCode = "BL", elementCode = 5510, itemCode = 2943, countrySet = 5000, yearRange = 2013) ```
For example, ``` FAOsearch(); 2; 4; 1; 16; 16 # (Production, Livestock Primary, Aggregated Item, Meat, Total > (List), Production (tonnes) ``` And: ``` FAOsearch(); 2; 4; 1; 15; 16...
I recommend converting all API calls to replace spaces with underscores or get rid of them at all. It makes the FAOSearch call that much less useful.
I get this when I try to print from the FAO_TABLE_NAME: "invalid input 'Côte d'Ivoire' in 'utf8towcs'" Very weird. Never seen this error before as I thought R dealt with...
# ' I updated to the latest version of FAOSTAT library(devtools) install_github(repo = "FAOSTATpackage", username = "mkao006", subdir = "FAOSTAT") # ' item code 1651 is present in both FO...
In getFAOtoSYB.R you get the regional aggregates by taking the codes that are not in your FAOcountryProfile table. region.df = arrange(with(faoData, faoData[!(FAOST_CODE %in% FAOcountryProfile[, "FAOST_CODE"]), ]), FAOST_CODE, Year) There is...