You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am working with the package today. There are many domain's that do not have data populated. Maybe remove calls by running through the combinatorial expansion of domain, items, etc that are empty? This would be nice.
Related question, why are some items empty?
paulrougieux
added a commit
to paulrougieux/FAOSTATpackage
that referenced
this issue
May 2, 2024
' 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 and FT domain tables
subset(FAOmetaTable$itemTable, itemCode==1651)
' Element code 5616 is present in both FO and FT domain tables
subset(FAOmetaTable$elementTable, elementCode==5616)
' Download works in domainCode = "FO"
' 1651 Ind Rwd Wir (C) 5616 Import Quantity(m3)
rwd <- getFAO(name = "varName", domainCode = "FO", itemCode = 1651, elementCode = 5616)
head(rwd)
' But dowload doesn't work for FT, bilateral trade
' Ind Rwd Wir (C) Import Quantity(m3)
rwd_bilateral <- getFAO(name = "varName", domainCode = "FT", itemCode = 1651, elementCode = 5616)
' Trying to use the more elaborate function getFAOtoSYB()
rwd_bilateral <- getFAOtoSYB(name = "varName", domainCode = "FT", itemCode = 1651, elementCode = 5616)
' "The specified query has no data, consult FAOSTAT"
The text was updated successfully, but these errors were encountered: