From: Uwe Brauer <oub@mat.ucm.es>
To: Ken Mankoff <mankoff@gmail.com>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-orgmode@gnu.org
Subject: Re: join two or more tables
Date: Sun, 18 Aug 2019 12:24:42 +0200 [thread overview]
Message-ID: <87v9uuojo5.fsf@mat.ucm.es> (raw)
In-Reply-To: 87v9uuepv3.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]
>>> "KM" == Ken Mankoff <mankoff@gmail.com> writes:
> On 2019-08-18 at 04:23 -04, Uwe Brauer <oub@mat.ucm.es> wrote...
>> I was googling this a bit, I found more complicated scenarios, but not
>> how to join one or more tables.
>>
>> [...]
>>
>> I want to generate a new table total-nuts, which is just a combination
>> of the two tables, nuts and nuts2
> Does https://github.com/tbanel/orgtbljoin do what you want?
Thanks I knew about it, but it seems very sophisticated and column, not
row based.
Meanwhile I found the following, R-based, solution
* Using R to combine columns, important the first row must coincide!
#+tblname: TC
| a | b | c |
|---+---+---|
| 1 | 2 | 3 |
| 7 | 8 | 9 |
#+tblname: TD
| a | b | c |
|----+----+----|
| 4 | 5 | 6 |
| 10 | 11 | 12 |
#+begin_src R :colnames t :var t1=TC t2=TD
rbind(t1, t2)
#+end_src
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]
next prev parent reply other threads:[~2019-08-18 10:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-18 8:23 join two or more tables Uwe Brauer
2019-08-18 8:31 ` Uwe Brauer
2019-08-18 8:46 ` [SOLVED] (was: join two or more tables) Uwe Brauer
2019-08-18 8:59 ` [rows not columns] (was: [SOLVED]) Uwe Brauer
2019-08-18 11:00 ` join two or more tables Jude DaShiell
2019-08-18 10:21 ` Ken Mankoff
2019-08-18 10:24 ` Uwe Brauer [this message]
2019-08-18 10:49 ` Achim Gratz
2019-08-18 11:34 ` Uwe Brauer
2019-08-23 18:09 ` Achim Gratz
-- strict thread matches above, loose matches on Subject: below --
2019-08-23 9:55 emanuel.charpentier
2019-08-23 10:54 ` Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9uuojo5.fsf@mat.ucm.es \
--to=oub@mat.ucm.es \
--cc=emacs-orgmode@gnu.org \
--cc=mankoff@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.