[R-SIG-Finance] [R-sig-finance] Downloading data from Economagic

Jeff Ryan jeff.a.ryan at gmail.com
Fri Jan 9 19:17:21 CET 2009


You could subscribe :)

Beyond that you'll probably have to resign yourself to constantly
keeping up with the HTML that hides the data in the free pages.  It
changes often, and from series to series in my experience.

A snippet of the code in question:

2008 12 22<font color=white> 85</font   >0&#183;11375
 2008 12 23<font color=white> 39</font>0&#183;11750<font color=white></font>

 2008 12 24<font color=white> 28</font  >0&#183;14750
 2008 12 29<font color=white> 99</font       >0.13750<font color=white></font>
 2008<font color=white></font> 12 30<font color=white> 11</font>0&#183;13875
 2008 12 31<font color=white> 91</font>0&#183;13500

Your could simply parse yourself, converting all the &#183; instances
to . --- and then in the spirit of OSS contribute back your efforts to
rmetrics.

Jeff

On Fri, Jan 9, 2009 at 12:07 PM, RON70 <ron_michael70 at yahoo.com> wrote:
>
> 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.



-- 
Jeffrey Ryan
jeffrey.ryan at insightalgo.com

ia: insight algorithmics
www.insightalgo.com



More information about the R-SIG-Finance mailing list