Open rufuspollock opened 10 years ago
In progress at https://github.com/rgrp/ckan-explorer
OK, now have sql querying support :-)
Key code is very simple: https://github.com/rgrp/ckan-explorer/blob/master/js/app.js#L88-L121
Here's a nice screenshot where i'm doing a group by to see the largest expenditure in the Adur District spending on demo.ckan.org ...
SELECT "Supplier", SUM("Amount") FROM "04127ad5-77e5-4a08-9f40-12d3c383e460" GROUP BY ("Supplier") ORDER BY SUM("Amount") DESC;
does this support JOINs? (I've not seen a deviation from @yesthatjwz's "regexp quip" wrt JOINs, not regexp)
@adamamyl I believe it does - i'll need to get some example data up to show it though ...
Great stuff!
@adamamyl I have examples with JOINs - https://gist.github.com/rgrp/0b24589bd3293234917b
CKAN Extension to create a Data Explorer dashboard.
Live at: /explorer