[R-SIG-Finance] [R-sig-finance] Downloading data from Economagic
Horace Tso
Horace.Tso at pgn.com
Fri Jan 9 19:48:16 CET 2009
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")
> tail(dat2)
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?
--
View this message in context: http://www.nabble.com/Downloading-data-from-Economagic-tp21359782p21359782.html
Sent from the Rmetrics mailing list archive at Nabble.com.
_______________________________________________
R-SIG-Finance at stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only.
-- If you want to post, subscribe first.
More information about the R-SIG-Finance
mailing list