CountryData "UnitedStates" "GovernmentSurplus" problem
- To: mathgroup at smc.vnet.net
- Subject: [mg78193] CountryData "UnitedStates" "GovernmentSurplus" problem
- From: "Chris Chiasson" <chris at chiasson.name>
- Date: Mon, 25 Jun 2007 07:05:40 -0400 (EDT)
It appears that Mathematica 6 is lacking surplus and deficit data for all years except 2005. Also, the data for GDP doesn't include 2006. Here is where you can get more data: http://www.cbo.gov/budget/historical.xls http://www.cbo.gov/budget/historical.shtml http://www.cbo.gov/ (*GDP data from many years is available*) In[1]:= CountryData["UnitedStates",{"GDP",All}]//Short Out[1]//Short= {{{1970,1,1,0,0,0},1.025*10^12},<<34>>,{{<<1>>},<<12>>}} (*surplus and deficit data does not appear to be*) In[2]:= CountryData["UnitedStates",{"GovernmentSurplus",All}] During evaluation of In[2]:= CountryData::notprop: {"GovernmentSurplus", All} is not a known property for CountryData. Use CountryData["Properties"] for a list of properties. Out[2]= CountryData[UnitedStates,{GovernmentSurplus,All}] In[3]:= CountryData["UnitedStates","GovernmentSurplus"] Out[3]= -3.47*10^11 In[4]:= CountryData["UnitedStates","GovernmentSurplus","Date"] Out[4]= 2005 In[5]:= {Internal`$CreationID,$Version} Out[5]= {853857,6.0 for Microsoft Windows (32-bit) (April 27, 2007)} -- http://chris.chiasson.name/