Quick question. I'm looking to work on a core viz data model, not tied to any particular backend, but that would provide a consistent API for views. I started sketching ideas here: https://docs.google.com/document/d/16bDDxYfUD1C... to flesh out
and now I just opened up spend.ui to have a looksee
a goal for me right now is to bring together some really basic data model for viz based on measures and dimensions, but not tied to FDP or any particular backend, and to see how I can bring the work of spendb, particularly viz, into openspending.
the question is: what other viz aspects do i need to look at - e.g.: also babbage.ui?
it looks like most of the work is there in those dataset/* scripts, but if you have any other pointers, feel free
danfowler joined the channel
leow has quit
leow joined the channel
leow has quit
LauraJ joined the channel
pudo
pwalsh: hey man, just got online
so yeah, all the viz stuff in spendb is in babbage.ui
it's somewhat tied to babbage, but really just to the notion of dimensions, attributes and measures - which I guess FDP now also has
(in fact, FDP and babbage have gotten really close)
i think we still need work, of course. but i can see we'll get to a good place with FDP soon
pudo
I'm keen to see how you guys will tackle hierarchies and what the final descriptors for classifications will look like
pwalsh
duo that is really the difficult thing right now as far as I see :)
pudo
yeah
pwalsh
* that is the...
pudo
I spent a lot of time discussing hierarchies with aristaran, he's using mondrian for his spending db
they do it similar to cubes
but I just struggle to think of how to hide the complexity from users
pwalsh
I'm personally less focussed on that right now, Rufus and Dan are more on that (spec). Complexity: yes. I have no ready solution for that at this stage. But looking at it again
pudo
Perhaps it'll require introducing a third stage in the dimension modelling: select all attributes in a dimension, then all hierarchies, then really spec it out
i'm quite keen to work on a data model thing though for viz now... (as noted above). Very similar to what you have in spendb as I see. First I'll work towards some general ideal, and then start to look at a) how it looks with Dan's current work, and b) how it looks with spendb viz layer
pudo
let me know if I can help in any way
hoping to deploy babbage in a non-SpenDB context at work soon, so it'll need to go a bit more generic anyway
pwalsh
I'd like that (help). First I'll start with a basic doc of the requirements (quite short), and we can riff on that. I'm actively working on this today and tomorrow. I'll update here.
pudo
great.
pwalsh
pudo now that you are down that road, how do you feel about babbage compared to cubes? Are you planning to keep working on babbage?
pudo
I feel quite good about it, to be honest :) it has very high test coverage and very limited functionality
the exact opposite of cubes in that sense, I'm afraid
cubes tries to do N backends (mongo, mixalytics, ...)
and then has weird bugs like not escaping column names (i.e. 'time' as column queries the function instead)
the biggest missing function in babbage is joins/star schema
that's doable, but I wanted to see a real need for it first
classification alignment would be such a need
pwalsh: just looking at your diagram -
one thing I tried and that really didn't work was standardizing vis state
each type ends up having different numbers of axes
so you can standardize filters, but not breakdowns
pwalsh
what exactly do you mean by standardising viz state?
pudo
the last part of your diagram
says you want to standardise around API state
which I assume to mean: "show me viz type X with the following query as an input"
pwalsh
yep.
pudo
so that works for filters
but not so well for the dimensional drilldowns
pwalsh
yep. i see.
i don't want to start working on a big spec for this now :). just the simplest possible api for measures and dimensions on spend data. i guess right now, until we can power stuff like the spendb viz from it, etc.... state is a secondary concern.
so let's take it up later
pudo
ok
pwalsh
about babbage - ok. good overview, thanks. I'm mostly wondering about querying/efficiency/star schema but it is theoretical at this point. congrats on the test coverage btw :)
pudo
as a quasi-random side note, I'd love to see a set of two functions that take any babbage query and generate a the same SHA1 both in JS and Python land
that way, we could use static data
pwalsh
interesting ;)
pudo
(that's what cubepress was initially intended to do... we're doing a few commercial projects with OKF-DE soon, I'll try and get Matt to implement a version of it ...)
pwalsh: still around?
pwalsh
yes man
pudo
ha. I've been seeing your tickets on github come in, and realize that I've completely lost any model of how all of these pieces fit together. What's the best reference on that, atm?
the data loader, cli, and dan's frontend stuff
pwalsh
hi. sorry, got distracted. I'm at a HaSadna meet up...