From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Re: Gather properties for use by babel source block? Date: Wed, 3 Aug 2011 14:35:27 +0000 Message-ID: <20110803143527.CD5TM.82842.root@hrndva-web16-z02> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QocXh-0003wu-OX for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 10:35:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QocXg-0004FM-8r for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 10:35:29 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.122]:34378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QocXg-0004F9-3A for emacs-orgmode@gnu.org; Wed, 03 Aug 2011 10:35:28 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "darcamo@gmail.com" Cc: emacs-orgmode Hello Darlan --- ---- "darcamo@gmail.com" wrote:=20 > I have not used it myself, but isn't org-collector exactly what you want = [1]. > "org-collector collects headline properties into tables with optional > pre-processing" Indeed org-collector has allowed me to extract properties into a table, and= even without much knowledge of lisp (for the conditions) the results were = promising. > Once you have a table, you can easily pass it to code blocks for further > processing with org-babel. While I have the table from org-collector I do not know how to "easily pass= it to code blocks". I have an (untested) idea that if #+tblname preceded = the table from org-collector, then a babel source block could operate on it= . If this works then almost all is well and good, except for the small det= ail of getting the #+tblname automatically from the org-collector process.= =20 Thank you for the response, Tim >=20 > [1] - http://orgmode.org/worg/org-contrib/org-collector.html >=20 > -- > Darlan >=20 > 2011/8/2 Tim Burt : > > > > I want to gather data from properties into something that can be used b= y > > a babel source block (e.g. plot the data). =C2=A0Searches in the manual= , > > worg, and gmane have not yielded the method, but my best guess is that > > I've missed it. =C2=A0If so, this is simply a request for a pointer to = the > > documentation I should read. > > > > BACKGROUND: I'm trying to complete a workflow where I capture data over > > time and periodically operate with it (e.g. put into a database and > > plot). =C2=A0The excellent documentation for orgmode has made certain p= arts > > easy going, but the current obstacle is extracting properties that can > > subsequently be operated on in babel source blocks. > > =C2=A0+ [X] Capture data into properties using templates > > =C2=A0+ [X] View tables of properties in org file > > =C2=A0 * [X] use columnview dynamic block > > =C2=A0 * [X] use org-collector > > =C2=A0+ [ ] Gather properties for use by babel source block > > =C2=A0+ [-] Operate on the gathered properties > > =C2=A0 * [-] SQL or SQLite > > =C2=A0 =C2=A0 - [X] follow simple tutorials for proof of principle > > =C2=A0 =C2=A0 - [ ] populate database with gathered properties > > =C2=A0 * [-] R > > =C2=A0 =C2=A0 - [X] follow simple tutorials > > =C2=A0 =C2=A0 - [ ] calculate statistics and populate database > > =C2=A0 =C2=A0 - [ ] plot from database > > =C2=A0 =C2=A0 - [ ] plot from table in org file > > > > Good evening, > > Tim > > > >