Re: [O] extract a column from a table but but an name on the new table

2018-05-27 Thread Uwe Brauer
> On 26/05/2018 10:32, Uwe Brauer wrote: > You may like the out-of-the-boxtable remote references: > | 3 | > | 4 | > | 6 | > | 7 | > | | > | | > #+TBLFM: $1=remote(raw-data,@@#$3) > The downside is that you need to create an empty table with the right >

Re: [O] extract a column from a table but but an name on the new table

2018-05-27 Thread Thierry Banel
On 26/05/2018 10:32, Uwe Brauer wrote: > You may name the Lisp block like that: > -- > #+TBLNAME: raw-data > | 1 | a | 3 | > | 2 | b | 4 | > | 3 | c | 6 | > | 4 | d | 7 | Thank you! BTW I found it strange that the extracting

Re: [O] extract a column from a table but but an name on the new table

2018-05-26 Thread Uwe Brauer
> You may name the Lisp block like that: > -- > #+TBLNAME: raw-data > | 1 | a | 3 | > | 2 | b | 4 | > | 3 | c | 6 | > | 4 | d | 7 | Thank you! BTW I found it strange that the extracting function does not exist in vanilla org. My

Re: [O] extract a column from a table but but an name on the new table

2018-05-26 Thread Thierry Banel
On 24/05/2018 15:08, Uwe Brauer wrote: Hi Thierry Banel one of the authors of orgtbl-aggregate.el Suggested to me the following code, if just want to extract one column of a table. #+TBLNAME: raw-data | 1 | a | 3 | | 2 | b | 4 | | 3 | c | 6 | | 4 | d | 7 |

[O] extract a column from a table but but an name on the new table

2018-05-24 Thread Uwe Brauer
Hi Thierry Banel one of the authors of orgtbl-aggregate.el Suggested to me the following code, if just want to extract one column of a table. #+TBLNAME: raw-data | 1 | a | 3 | | 2 | b | 4 | | 3 | c | 6 | | 4 | d | 7 | #+BEGIN_SRC elisp :var data=raw-data (mapcar (lambda (line)