I have some data which I already have stored as a list of Clojure maps. Is there a way to create an Incanter data set from this? Currently, I'm transforming it into CSV files first, then doing a "read-dataset". Is that the "normal" way of going about it? Or, is there a short-cut?
On Sat, Jan 30, 2010 at 9:18 PM, mudphone <kyle...@gmail.com> wrote: > Hi folks,
> I have some data which I already have stored as a list of Clojure > maps. Is there a way to create an Incanter data set from this? > Currently, I'm transforming it into CSV files first, then doing a > "read-dataset". Is that the "normal" way of going about it? Or, is > there a short-cut?
> On Sat, Jan 30, 2010 at 9:18 PM, mudphone <kyle...@gmail.com> wrote: > > Hi folks,
> > I have some data which I already have stored as a list of Clojure > > maps. Is there a way to create an Incanter data set from this? > > Currently, I'm transforming it into CSV files first, then doing a > > "read-dataset". Is that the "normal" way of going about it? Or, is > > there a short-cut?
If you're working with datasets, also checkout the following recently added functions: $, $where, $join, $rollup, $order, and $group-by.
I've also made the chart functions dataset aware. You can pass column names of a given dataset to the functions instead of the actual data values. For instance,
On Sat, Jan 30, 2010 at 9:47 PM, mudphone <kyle...@gmail.com> wrote: > Hi David,
> Sorry for bothering you all weekend :) Thanks for that. Awesome. I > was looking for it in incanter.io.
> Kyle
> On Jan 30, 6:38 pm, David Edgar Liebke <lie...@gmail.com> wrote: >> Hi Kyle,
>> The to-dataset function does what you want.
>> David
>> On Sat, Jan 30, 2010 at 9:18 PM, mudphone <kyle...@gmail.com> wrote: >> > Hi folks,
>> > I have some data which I already have stored as a list of Clojure >> > maps. Is there a way to create an Incanter data set from this? >> > Currently, I'm transforming it into CSV files first, then doing a >> > "read-dataset". Is that the "normal" way of going about it? Or, is >> > there a short-cut?
> If you're working with datasets, also checkout the following recently > added functions: > $, $where, $join, $rollup, $order, and $group-by.
> I've also made the chart functions dataset aware. You can pass column > names of a given dataset to the functions instead of the actual data > values. For instance,
> On Sat, Jan 30, 2010 at 9:47 PM, mudphone <kyle...@gmail.com> wrote: > > Hi David,
> > Sorry for bothering you all weekend :) Thanks for that. Awesome. I > > was looking for it in incanter.io.
> > Kyle
> > On Jan 30, 6:38 pm, David Edgar Liebke <lie...@gmail.com> wrote: > >> Hi Kyle,
> >> The to-dataset function does what you want.
> >> David
> >> On Sat, Jan 30, 2010 at 9:18 PM, mudphone <kyle...@gmail.com> wrote: > >> > Hi folks,
> >> > I have some data which I already have stored as a list of Clojure > >> > maps. Is there a way to create an Incanter data set from this? > >> > Currently, I'm transforming it into CSV files first, then doing a > >> > "read-dataset". Is that the "normal" way of going about it? Or, is > >> > there a short-cut?