We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 pass the results to the getFAOtoSYB function:
getFAOtoSYB(query = .LastSearch)
I end up with the following errors:
getFAOtoSYB(query = .LastSearch) ------------------------------------------ ** FAOSTAT Data Download (422 in Total) ** ------------------------------------------ (1): Downloading variable Detailed trade matrix_Wool, hair waste_Import Quantity (tonnes) ... Error in faoData$FAOST_CODE : $ operator is invalid for atomic vectors [1] 1 Error : $ operator is invalid for atomic vectors [1] 2 Error : $ operator is invalid for atomic vectors [1] 3 Error : $ operator is invalid for atomic vectors [1] 4 ...
------------------------------------------ ** FAOSTAT Data Download (422 in Total) ** ------------------------------------------
(1): Downloading variable Detailed trade matrix_Wool, hair waste_Import Quantity (tonnes) ... Error in faoData$FAOST_CODE : $ operator is invalid for atomic vectors [1] 1 Error : $ operator is invalid for atomic vectors [1] 2 Error : $ operator is invalid for atomic vectors [1] 3 Error : $ operator is invalid for atomic vectors [1] 4 ...
The text was updated successfully, but these errors were encountered:
See Filippo's commend in issue #23
I updated this gist which provides two functions
download_faostat_bulk
read_faostat_bulk
Sorry, something went wrong.
No branches or pull requests
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 pass the results to the getFAOtoSYB function:
getFAOtoSYB(query = .LastSearch)
I end up with the following errors:
The text was updated successfully, but these errors were encountered: