The entry for this project page is going to be in both English and Japanese so I can
Day 1: Ideation and Scope
(12/28/2024) The idea is to create a web-based app that can automatically calculate the macros of food for Japanese people. I will set it up to host on this website or Github in two weeks. The database I will use for this project is the official 日本食品標準成分表 published by MEXT.
My inspiration is Lorraine on Appstore.
Ganbaruzo.
Day 2: Research
(12/29/2024) I didn't get to do much today since I spent most of my free time creating a new repository for projects. But I skimmed through this pdf 日本食品標準成分表and the actual nutrient table. These were some findings:
- Each food categories have their own code. (e.g. 001 for cereal)
- There are specific calculation methods for certain food groups I should be wary about.
- I need to understand the data structure first to create the app.
I also have an idea of what the first version could look like. I imagine an input as a drop down menu at first. For each food type, there will have to be about 3 inputs because of the data structure. Then, I will use python to look up the food types using INDEX MATCH type function.
This sounds like a simple task that I could do in a few days.
Day 3: Research Contd.
(12/30/2024) Notes from 日本食品標準成分表
CH1
- 収穫食品数は2538食品 2. 原材料食品は未調理食品を基本とし調理食品も収載されている。これらは表12及び第3章3に整理されている。 3. 食品の分類は原則4段階で大分類においては50音順とされている。食品によっては副分類等がある。
- 食品それぞれに5桁の食品番号が当てられている:上2桁は食品群、下3桁は小分類、細分に当てられている。 5. 索引番号もそれぞれの食品に付随する。枝番号での整理をしている場合もある。
- 脂肪酸の細かい情報については別表に記載されている。
- 廃棄率は購入形態に対する質量の割合で示されていて、可食部についての言及もある。
電車が新宿に着いたのでまた明日。