How do add Quandl package to Julia

Viewed 327

I'm trying to add the Quandl package (query finance and economic data) like this:

using Pkg Pkg.add("Quandl")

which gets me this:

Updating registry at ~/.julia/registries/General

Updating git-repohttps://github.com/JuliaRegistries/General.git`

[1mFetching: [========================================>] 100.0 %[==========> ] 23.3 %] 46.4 % %> ] 90.2 %

The following package names could not be resolved:

* Quandl (not found in project, manifest or registry)

Anyone know what's going on here? Am I doing something wrong or is there a problem with the package?

1 Answers

The error message is telling you that Quandl is not registered in Julia's general registry, and can therefore not be added directly by typing it's name in the package manager.

You can still add it from its URL, are you referring to this package:

https://github.com/milktrader/Quandl.jl?

If so you can do Pkg.add("https://github.com/milktrader/Quandl.jl") to add it from GitHub.

It looks however like the package is unmaintained, as it hasn't been updated for three years, and therefore is unlikely to work with Julia versions post 1.0.

If it turns out it doesn't work but you need the package, you can try installing Julia 0.7, which can give you deprecation warnings to tell you about the syntax changes to get it to work with Julia 1.0+.

Related