Hi
I am a PhD student working on 24 hours food consumption data at household level.Food items are entered in different column as variables below. I have also counted who ate fish and not in fish column below:
I want to calculate total quantity of fish consumed by the household. Any support in this regard highly appreciated.
Thank you,
Rumana
I am a PhD student working on 24 hours food consumption data at household level.Food items are entered in different column as variables below. I have also counted who ate fish and not in fish column below:
Fish | food1 | quantity | food2 | quantity | food3 | HH ID |
0 | veg | 250 | egg | 50 | rice | 1 |
0 | rice | 540 | lentils | 165 | milk | 1 |
1 | fish | 150 | meat | 150 | veg | 1 |
0 | lentils | 20 | rice | 678 | fruits | 2 |
1 | egg | 33 | fish | 56 | vitaA | 2 |
0 | fruits | 70 | meat | 67 | meat | 3 |
1 | milk | 250 | cake | 89 | fish | 3 |
Thank you,
Rumana
Comment