emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andy Choens <andy.choens@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Reproducible Research Template
Date: Wed, 05 Jan 2011 12:24:28 -0500	[thread overview]
Message-ID: <1294248268.4016.10.camel@Yates> (raw)
In-Reply-To: <F8C7EAD6-3983-4C5E-9853-5027800E14D6@tsdye.com>


[-- Attachment #1.1: Type: text/plain, Size: 1155 bytes --]


On Wed, 2011-01-05 at 06:24 -1000, Thomas S. Dye wrote:

> Most of my projects store data in a MySQL database.  My projects  
> define queries that relate tables to one another, but the results
> are  
> typically something that Org-mode understands---a flat table or a  
> single value.  The reproducible research functions that I write
> break  
> the analysis workflow down into separate tasks so that the results
> of  
> a SQL query are written to the Org-mode buffer.  Subsequent steps in  
> the workflow refer to the named results block.  This way, the
> Org-mode  
> project contains the actual data used in the analysis without the
> need  
> to reproduce a relational structure.  The functions that access the  
> SQL database go in the local library of babel because I don't want
> to  
> give users of a RR document direct access to my database.
> 


That is very interesting. I like the idea of separating the database
queries from the flat table results. This is similar to my situation.
The actual storage of the data is relational, but the queries needed to
assess the data result in either flat tables or single values. Very good
idea.

[-- Attachment #1.2: Type: text/html, Size: 1984 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-01-05 17:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 19:55 Reproducible Research Template Andy Choens
2011-01-05 16:24 ` Thomas S. Dye
2011-01-05 17:24   ` Andy Choens [this message]
2011-01-05 16:31 ` Charles C. Berry

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294248268.4016.10.camel@Yates \
    --to=andy.choens@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).