I'm using Org-mode is the log-book for my agricultural field trials and my Phd thesis in general.
Reporting field trials I would like to export the agenda views of trials to org-tables to get something like this as a final product: (Toy data)
| Trial | Date (Toy data) | Action | DAE |
|---------+-------------------+-----------------------+-----|
| Trial A | <2013-02-21 Thu> | Planting | |
| Trial A | <2013-03-03 Sun> | Emergence | 0 |
| Trial A | <2013-04-19 Fri> | Fungicide Application | 7 |
| Trial A | <2013-05-20 Mon> | Biomass Evaluation | 50 |
| Trial A | <2013-06-21 Fri> | Harvest | 110 |
| Trial B | ... | ... | |
| ... | ... | ... | |
From the C-a m (TAG search) I can get something like this here (real data):
13pgSoja: 13pgSoja: Planting: Soybean <2012-11-06 Tue> :NPW:2013:PG::
13pgSoja: 13pgSoja: Emergence <2012-11-14 Thu> :NPW:2013:PG::
13pgSoja: 13pgSoja: Application 1 <2012-11-22 Thu 14:30-16:30> :NPW:2013:PG::
13pgSoja: 13pgSoja: Evaluation: Control 1 <2012-11-28 Wed> :NPW:2013:PG::
13pgSoja: 13pgSoja: Evaluation: Biomass Weeds <2013-02-18 Mon> :NPW:2013:PG::
13pgSoja: 13pgSoja: Evaluation: Biomass Soybean :NPW:2013:PG::
13pgSoja: 13pgSoja: Harvest <2013-03-25 Mon> :NPW:2013:PG::
Editing away unnecessary tags is not a problem, I get: (I added the header for the three first columns just to make clear my idea...)
Trial Action Date
13pgSoja: Planting: Soybean <2012-11-06 Tue>
13pgSoja: Emergence <2012-11-14 Thu>
13pgSoja: Application 1 <2012-11-22 Thu 14:30-16:30>
13pgSoja: Evaluation: Control 1 <2012-11-28 Wed>
13pgSoja: Evaluation: Biomass Weeds <2013-02-18 Mon>
13pgSoja: Evaluation: Biomass Soybean
13pgSoja: Harvest <2013-03-25 Mon>
Then converting this format to an org-table:
| Trial | Action | Date | DAE |
| 13pgSoja: | Planting: Soybean | <2012-11-06 Tue> | |
| 13pgSoja: | Emergence | <2012-11-14 Thu> | 0 |
| 13pgSoja: | Application 1 | <2012-11-22 Thu> | |
| 13pgSoja: | Evaluation: Control 1 | <2012-11-28 Wed> | |
| 13pgSoja: | Evaluation: Biomass Weeds | <2013-02-18 Mon> | |
| 13pgSoja: | Evaluation: Biomass Soybean | <2013-02-18 Mon> | |
| 13pgSoja: | Harvest | <2013-03-25 Mon> | 130 |
The DAE stands for "Days after emergence". I would like to be able to calculate the "crop age" from the dates and sorting by date. Is the format from the agenda any good for calculations? This is actually an additional question...
Converting data to a table is a problem (converting without header, that I would add later). I would have to do the seperations all manually. Is there any easy way to export the agenda view into an org-table form? Is column view of org-agenda the right path?