[okfn-labs] Recline: major improvements over last month, new website and upcoming public v0.5 release

Rufus Pollock rufus.pollock at okfn.org
Sun May 20 15:47:06 UTC 2012


On 20 May 2012 16:28, James Casbon <casbon at gmail.com> wrote:
> Thanks Rufus,
>
> Where is the documentation you refer to, in git only?
>
> Loaded the CPI dataset in seconds using the raw CSV data:
> http://reclinejs.com/app/?query=%7B%22size%22%3A10000%2C%22from%22%3A0%2C%22facets%22%3A%7B%7D%2C%22filters%22%3A%5B%5D%2C%22q%22%3A%22%22%7D&view-graph=%7B%22group%22%3A%22Date%22%2C%22series%22%3A%5B%22Value%22%5D%2C%22graphType%22%3A%22lines%22%7D&backend=dataproxy&dataset=%7B%22id%22%3A%22my-dataset%22%2C%22url%22%3A%22https%3A%2F%2Fraw.github.com%2Fdatasets%2Fus-consumer-price-index%2Fmaster%2Fdata%2Fcpiai.csv%22%2C%22webstore_url%22%3A%22https%3A%2F%2Fraw.github.com%2Fdatasets%2Fus-consumer-price-index%2Fmaster%2Fdata%2Fcpiai.csv%22%2C%22format%22%3A%22csv%22%7D&currentView=graph&readOnly=false&view-grid=%7B%22hiddenFields%22%3A%5B%5D%7D&view-map=%7B%22geomField%22%3Anull%2C%22lonField%22%3Anull%2C%22latField%22%3Anull%7D

Such a big url -- i keep using bit.ly to shorten (unfortunately bit.ly
API requires an API key to shorten and no nice way to embed that
securely!)

> But, I could not get it to work with the data API.  Which url does it need?

The first one on the list on the DataHub (i.e. the "base" URL), ie.
for the CPI dataset:
<http://datahub.io/dataset/us-consumer-price-index> and specifically
the CSV data file:
<http://datahub.io/dataset/us-consumer-price-index/resource/27e14656-ba2a-4b81-855d-0f167809d87d>
it would be:

<http://datahub.io/api/data/27e14656-ba2a-4b81-855d-0f167809d87d>

E.g.:

<http://reclinejs.com/app/?url=http://datahub.io/api/data/27e14656-ba2a-4b81-855d-0f167809d87d&backend=elasticsearch>

> Minor bug, at the link above if you switch to graph, then map and back
> to graph, the axes are slightly in the wrong place.

Hmm, I've seen something like this before and it's something weird in
the flot redraw. Perhaps you could file an issue with a screenshot if
you spot it again.

Rufus




More information about the okfn-labs mailing list