FAOSTATpackage
FAOSTATpackage copied to clipboard
Add a data frame coutaining region names and codes
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 another table FAOregionProfile but it doesn't contain region codes either.
I would like to add a region code data frame such as this one: https://gist.github.com/paul4forest/8922209
According to the list of all groups and of their content from FAOSTAT - Area Group
Filippo, can you add in the FAOSTAT aggregates into the FAOcountryProfileUTF8.csv?