From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Org-mode to feed a database Date: Sun, 04 Jan 2015 17:05:00 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7tIJ-0002a7-Ro for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 17:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7tIF-0003fs-QI for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 17:05:07 -0500 Received: from mail-qa0-x22f.google.com ([2607:f8b0:400d:c00::22f]:55019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7tIF-0003fW-M5 for emacs-orgmode@gnu.org; Sun, 04 Jan 2015 17:05:03 -0500 Received: by mail-qa0-f47.google.com with SMTP id n4so14387930qaq.34 for ; Sun, 04 Jan 2015 14:05:03 -0800 (PST) In-Reply-To: (Vikas Rawal's message of "Mon, 29 Dec 2014 07:31:57 +0530") 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: Vikas Rawal Cc: org-mode mailing list Vikas Rawal writes: It is possible, but not worth the effort. Even with moderately experienced users, you will be amazed at how org-files can get mangled by users. In a recent course I taught, I used links for some data entry; the links stored data as properties in a headline. Even then a handful of users found some ways to delete headlines, modify what got stored, etc... As someone else mentioned, if Emacs is the input interface, widgets is the way to go. Otherwise, a webform is a much better idea. Alternatives include a PDF form, an MS Word or Excel form, or one of the online survey tools. > This is, in all likelihood, a crazy idea. Please excuse me for that. > > I often need to get a number of people enter complex survey data into > a database using some kind of forms. The forms I need are fairly > complex (with several nested grids, for example). I need radio-buttons > and drop-down menus-equivalents. > > I was thinking if it would be worth it to use Org-mode for data entry. > > The idea would be something like this. We have a template org file > that is copied for each survey respondent. The template contains > =E2=80=9Cblank=E2=80=9D org tables and some source blocks. Responses are = filled into > the org tables, and then the source blocks are evaluated to feed the > data into the database. You can version-control the whole thing so > that different people can create these records and push it to a > centralised git repository. > > Has anyone done anything like this? What has been the experience? > > There are two aspects that immediately come to my mind. > > 1. Is org adequately feature rich for such a scenario? There are two conc= erns I can think of right now.=20 > 1.1 Would feeding information from one Org table to another become too= complicated? > 1.2 Is there a way to build in tab-completion for columns in Org-table= using pre-specified categories?=20 > > 2. In my case, people who would enter the data into org files would > not have used emacs before. So, there is a learning curve. Is it worth > it? Or should one just build a web-based graphic application for such > people to use? > > Vikas > --=20 ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu