NAME Health::BladderDiary::GenTable - Create bladder diary table from entries VERSION This document describes version 0.007 of Health::BladderDiary::GenTable (from Perl distribution Health-BladderDiary-GenTable), released on 2020-12-10. SYNOPSIS Your bladder entries e.g. in `bd-entry1.txt` (I usually write in Org document): 0730 drink: 300ml type=water 0718 urinate: 250ml 0758 urinate: 100ml 0915 drink 300ml 1230 drink: 600ml, note=thirsty 1245 urinate: 200ml From the command-line (I usually run the script from inside Emacs): % gen-bladder-diary-table-from-entries < bd-entry1.txt | time | intake type | itime | ivol (ml) | ivol cum | icomment | urination time | uvol (ml) | uvol cum | urgency (0-3) | ucolor (0-3) | ucomment | |----------+-------------+-------+-----------+----------+----------+----------------+-----------+----------+---------------+--------------+----------+ | 07-08.00 | water | 07.30 | 300 | 300 | | 07.18 | 250 | 250 | | | | | | | | | | | 07.58 | 100 | 350 | | | | | 08-09.00 | | | | | | | | | | | | | 09-10.00 | water | 09.15 | 300 | 600 | | | | | | | | | 10-11.00 | | | | | | | | | | | | | 12-13.00 | water | 12.30 | 600 | 1200 | thirsty | 12.45 | 200 | | | | | | | | | | | | | | | | | | | total | | | 1200 | | | | 550 | | | | | | freq | | | 3 | | | | 3 | | | | | | avg | | | 400 | | | | 183 | | | | | Produce CSV instead: % gen-bladder-diary-table-from-entries --format csv < bd-entry1.txt > bd-entry1.csv DESCRIPTION This module can be used to visualize bladder diary entries (which is more comfortable to type in) into table form (which is more comfortable to look at). Diary entries The input to the module is bladder diary entries in the form of text. The entries should be written in paragraphs, chronologically, each separated by a blank line. If there is no blank line, then entries are assumed to be written in single lines. The format of an entry is: