Janara is a simple tool to group and filter medium sized datasets (those that are a trouble to hold in a spreadsheet).
-
First, a text based file (csv) must be imported.
-
Second, a dataset must be created. At the moment datasets are only used in order to define what data can be grouped.
-
Datasets will be listed in "/datasets/list" and from there accessible to be queried.
Filter is done client side. The reason for that is simplicity and avoiding to hit the server for every query. A lot of logic seems to be shifting on the client nowdaws and thus Janara has been for me also an exercise to learn a bit of javascript (which I find painful, by the way) and jQuery.
Indeed, I wrote a small, sweet, wildly alpha (the plugin may come out of the monitor and try to kill you), jQuery plugin called smtf (super mega table filter) that to now seems to work well. Suggestions, critics, threats, all well accepted.
I did not do tests. Mostly because I do not know how to do it yet and the application is so small that I believe it is better to focus on the main thing.
Janara is an exercise. It has a reason, but I need to grasp some more concepts in order to make it useful. Mainly, I need to understand better memory management. Specifically of clojure, I need to understand better the lazy sequences. I could add features that just mirror sql statements (better group by, filters, etc.), but that would not be what I need. What I need is a powerful backend that is able to efficiently calculate things that with SQL are tricky and with spreadsheets are even more tricky. To those that know R, what I need is a "table" implementation and a good way of dealing with categorical variables.