On 07/27/2020 10:13 AM, Eric S Fraga wrote:
You may wish to have a look at recutils:
https://www.gnu.org/software/recutils/
but it may not have some of the functionality you wish (although you
could build on it with shell scripts & awk, say).
A database is over-kill for some personal preferences.
I had mentioned spreadsheets in original post as I had visualized a
multiple page spreadsheet. One page for the nutrient components of a
food. One page that would be used to input date, food, and amount. A
page that would have date and total of nutrient for that date. But I
couldn't figure out the details.
IIUC can import data from a CSV file.
I could have one file for nutrient content of foods and one file with
date, food, quantity, and unique record id.
Process would be edit to the appropriate CSV file to add information.
There would be a "report generator" which would read CSV files, convert
them to recfile, then create a "Total Consumed" recfile to be displayed.
[ A data join IIUC]. That recfile may initially be display only.