[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •[SOLVED] How to input a boolean value in the datalab?
Page 1 of 1

[SOLVED] How to input a boolean value in the datalab?

Posted: 04 May 2011 10:21
by seinecle
Hi,

Well the question is in the title.

I created a column for boolean values in the datalab, but anything I try to input in it (True, TRUE, true, 1) is rejected. Any advice?

Best,

Clement

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 10:30
by admin
How do you input it? The UI displays a checkbox.

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 10:59
by seinecle
Thanks - my mistake.

I had selected "BooleanList" by mistake, instead of "Boolean".
Is there a page which explains what this "list" format is, btw?

Best,

Clement

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 13:43
by eduramiba
Hi,

For any list type, elements are separated with commas so for example true,false,true is valid for a BooleanList.

Eduardo

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 13:52
by seinecle
Cool, thanks.
Can you give me an idea of what can of use it can serve?

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 14:52
by eduramiba
Hi,

Well there are list types for all simple types because it could be useful to someone.
Though BooleanList is not as natural as integer, these list types can lead to interesting visualizations or statistics like nice sparklines http://gephi.org/wp-content/uploads/201 ... ators3.png :D

Of course ideas are welcome!

Eduardo

Re: How to input a boolean value in the datalab?

Posted: 04 May 2011 15:02
by seinecle
Ok I get it, thx!

That would be nice to see how these lists could have a visual translation in the overview panel, too. For the moment I don't see how...

best,

Clement