wbstats icon indicating copy to clipboard operation
wbstats copied to clipboard

Valid ISO3 codes excluded?

Open bluefoxr opened this issue 2 years ago • 1 comments

Hi, thanks for the nice package first of all. I was comparing the result of downloading an indicator "GE.EST" through the wbstats package and by downloading as a csv from the World Bank data portal. I noticed a discrepancy: in the wbstats results there are five countries fewer than that found in the csv. They are: "AIA" "GUF" "JEY" "MTQ" "REU". I wonder if this is because you are cross-checking codes against your internal data frame of valid codes before running the query? These codes can indeed be found in the WB database but when I ask to download data from these codes it runs into an error.

Is it possible that the list of valid ISO codes is outdated? Or have I misunderstood something? Or is it a problem with the WB API?

Thanks for any pointers.

bluefoxr avatar Mar 03 '22 14:03 bluefoxr

Thank you for opening this issue. I will take look and get back with you soon.

jpiburn avatar Mar 03 '22 14:03 jpiburn