I'm trying to figure out how to download historical times series data for bitcoin, particularly on hashrates and difficulty (or targets). I know a lot of the exchange rates are available from bitcoincharts.com. A downloadable form of the charts from
http://blockchain.info/charts would be great.
I also know I can extract historical difficulties from the blockchain if necessary. So far I have tried blockparser, which could work, but at any rate I don't think it can give me the hashrate data I'm looking for. The blockchain.info API doesn't seem to provide a good way to access past data.
Any suggestions extremely welcome!