Adding custom functions

Is it possible to add custom functions and extend Metabase somehow?

I am working on a few data-sets tha are all a bit over-dispersed and I find myself wanting to reach for a more mature statistical toolkit than the ones currently present. I'd want to routinely compute the median absolute deviation, skew, kurtosis and a few others without having to drop-in to SQL all the time as using the average and the stddev ends up missing the mark when it comes to identifying outliers.

3 Likes

You can fork metabase and try to add these new functions in clojure

Maybe I misunderstand the problem... but could you put the function into the DB accessible in a view? Metabase would see it as a standard query rather than function call...???

I could, perhaps. But I was more curious to understand if I had missed an already supported feature of in the GUI editor when doing aggregations there was an ability to call "user-functions" in the same vein as say segments and metrics. Seemingly, the answer to tat is "no".

That'd have to be done for every view, these are measurements I'd like to have available for most if not all of "my" datasets.