Dear gretl-users,

I am the author of the getQuandl.gfn package. Sorry for the late response. And, of course, the under-documented. I will get it updated if I can solve the current problem.

This package was developed and tested under my gretl 1.9.12 under my old Ubuntu 10.04. It seems not working for 1.10.90 (cvs, build date 2015-06-22).

I just tested it again. Under my gretl 1.9.12, the following hansl was working fine.

<hansl>
include getQuandl.gfn
nulldata 50
setobs 7 2012-01-03
include getQuandl.gfn
# get exchange rates for USD and EURO from FRED
xlist = getQuandl("DEXUSEU", "2012-01-03", "2012-01-31", 1, 4, null, 0, null, null)
</hansl>

But if this hansl runs under gretl 1.10.90, it turns out not working. After some debugging. I am not sure if anyone knows that "cURL" changes as I could recall. (Allin, maybe you can help me...)

Since in gretl 1.9.12, the following commands still works:

URL="http://www.quandl.com/api/v1/datasets/FRED/DEXUSEU.csv"
s=readfile(URL)

In 1.10.90 (cvs, build date 2015-06-22), however, the above commands gets an error:

cURL error 1 (Unsupported protocol)

It would seem that the current cURL do not support "_" characters but I am not sure so far because the above URL string does not contain any underscore "_" characters.

Thanks for your help and interests in getQuandl and sorry for the inconvenience.

Yi-Nung Yang



2015-09-01 3:38 GMT+08:00 Allin Cottrell <cottrell@wfu.edu>:
On Sun, 30 Aug 2015, Carlos Andrade wrote:

Dear list members, how to download databases using package getQuandl?

The getQuandl package was contributed by Yi-Nung Yang, so the gretl developers don't have any special insight to offer. The package looks potentially useful, but it is certainly under-documented: the help text offers no guidance on the arguments to the getQuandl() function.

If you open the browser for installed packages (/Tools/Function packages/On local machine), one of the right-click options for the selected package is "View code". Looking at the code for getQuandl() gives slightly more of a clue as to what's going on; and I guess that if you visited the Quandl website that might shed some more light.

It's only recently that we've started exerting some editorial control over contributed function packages; on today's criteria we would require proper documentation before approving such a package.

Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users