[racket] DSL for multi-dimensional datasets?
On 2012-11-06 15:22:49 +1100, Simon Haines wrote:
> As part of my work, I frequently have to 'shape' multi-dimensional
> datasets. This is reasonably easy to do in Racket and I'm thinking
> about pulling together some of the functions I use into a library.
> Before I do this though, I was wondering if there is any similar work I
> can build upon, or perhaps use to guide me.
>
> [...]
>
> I haven't worked out the details yet, and I'm not sure the above will
> work the way I want it to. But I've had a quick look at Microsoft's
> Scientific DataSet ([1]http://sds.codeplex.com/), but it lacks the
> composability I'm used to with Racket. Is anyone aware of any similar
> work that does this, or that I could use as a guide?
I don't know about Racket, but have you seen the 'reshape' library in R?
It's very flexible and is probably one of the state of the art designs
in this space.
Here's a journal article describing its design:
http://www.jstatsoft.org/v21/i12/paper
and its website:
http://had.co.nz/reshape/
Cheers,
Asumu