Is the CountryData function operating?

Hi:

I am unable to get the CountryData function to work. I have tried FinancialData, CityData, WeatherData, AstronomicalData, and ProteinData. They all work.

Is anyone having this problem?

Jeff

Working ok Sep 12 - 21:45 EST from Atlanta, GA

Diego:

Thanks for checking, still no luck on this end. Copied straight from the documentation.
FAILS:
In[209]:= CountryData[“France”, “Population”]

Out[209]= $Failed

WORKS FINE:
In[210]:= FinancialData[“GE”, “MarketCap”]

Out[210]= 2.429*10^11

Jeff

In[9]:= CountryData["France", "Population"]
Out[9]= 6.47684*10^7

works on my system, Windows 8, Mathematica 9.0.1.0. It did have to download some data for a few seconds before it gave the answer. Presumably this data has to be updated regularly.

The downloads occurred for some of the other functions I tried, FinancialData, CityData, WeatherData, AstronomicalData, and ProteinData.

But CountryData fails. I wonder if the connection is different and there is a setting that is wrong on my system but I can’t find anything. I’m running 9.0.1.0.

Jeff

Please evaluate this code in Mathematica:

ToFileName[{$UserBaseDirectory, "Paclets", "Repository"}]

This will print to the screen the location of the paclets repository. This is the file on your computer which saves cached information from all of the functions like CityData, WeatherData, FinancialData, etc. Maybe there is something wrong with the cache here. You can delete this folder or the subfolders that are for CountryData and it will force Mathematica to try pulling the information off the web again.

Just to be sure, please try running the examples for CountryData in the documentation. Do these work for you?

Hi Sean:

The examples in the documentation do not work for CountryData either before or after the following action.

I got a similar suggestion as yours on StackExchange yesterday. I deleted two directories from the repository involving CountryData. Mathematica does not redownload the directories when I execute CountryData and the function still fails.

Any other ideas?

Jeff

Try resetting Mathematica to it’s default installation configuration.

http://support.wolfram.com/kb/3274

Thanks, will try.

Jeff