Skip to content
Prev 3478 / 15274 Next

Downloading data from Economagic

Over the holidays I went to their site and grabbed a couple of tables and dropped them into OpenOffice's Calc and did the text-to-column thing and many data points showed up with an unrecognizable character in place of the decimal point. I guess that's what's causing the R function to fail. No way around it. You just have to write your own script, or like what Jeff said, subscribe! 

H

-----Original Message-----
From: r-sig-finance-bounces at stat.math.ethz.ch [mailto:r-sig-finance-bounces at stat.math.ethz.ch] On Behalf Of RON70
Sent: Friday, January 09, 2009 10:07 AM
To: r-sig-finance at stat.math.ethz.ch
Subject: [R-SIG-Finance] [R-sig-finance] Downloading data from Economagic


Hi, I have posted this same problem in R help but did not get any fruitful
reply. Therefore I am again posting that same thread here as well, hope this
time I will get some efficient reply.

I was trying to dw data from Economagic
[http://www.economagic.com/em-cgi/data.exe/libor/day-ussnon], using
following code :

library(fimport)
dat2 = economagicSeries("libor/day-ussnon", frequency = "daily")
GMT
           libor/day-ussnon
2008-12-22               NA
2008-12-23               NA
2008-12-24          0.14750
2008-12-29               NA
2008-12-30          0.13875
2008-12-31               NA

Data for 2008-12-31 is given as NA, whereas in the website it is 0*13500.
Does anyone have a better idea on how to download data from Economagic more
efficiently?