Skip to content

Commit

Permalink
feat (food-intake): new data preparation and analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
santanche committed Sep 21, 2024
1 parent aeb52ec commit 235eafe
Show file tree
Hide file tree
Showing 48 changed files with 11,119,712 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"jupyter.notebookFileRoot": "${fileDirname}"
}
66 changes: 66 additions & 0 deletions data/food-intake/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
├── basics <- basic description tables
├── recipes <- recipes related tables
|
├── consumption <- participants related tables
├── consumption <- food consumption statistics tables
Expand Down Expand Up @@ -162,6 +164,70 @@ Cada tupla é um item que é parte de uma receita. Cada receita - todas as tupla
| Cooking_Method | método de cozimento do ingrediente na receita | Método de Cozimento do Produto na Receita |
| Commodity_Weight | participação (em percentual) do ingrediente no peso da receita | |

## Demographic Data

### Demographic Data (English)

| Field | Description | Details |
| ----- | ----------- | ------- |
| SEQN | Respondent ID | |
| SDDSRVYR | The two-year NHANES data release cycle number | |
| RIDSTATR | Interview/Examination Status | |
| RIDEXMON | Exam six month time period | |
| RIAGENDR | Gender | |
| RIDAGEYR | Age at the time of the screening interview, in years | |
| RIDAGEMN | Age at the time of the household screening interview, in months | |
| RIDEXPRG | Pregnancy Status at Exam | |
| RIDAGEEX | Age at the Mobile Examination Center (MEC) examination, in months | |
| RIDRETH1 | Race/Ethnicity | |
| SDMVPSU | Masked Variance Pseudo-PSU | |
| SDMVSTRA | Masked Variance Pseudo-Stratum | |
| DMDHHSIZ | Total number of people in the household | |
| YEAR_SURVEY | NHANES-WWEIA Survey Cycle | Renamed from original NHANES: YEAR |
| BMXWT | Bodyweight, in kilograms (kg) | |
| BMXHT | Standing Height (cm) | Target: 2 years -150 years. |
| BMXRECUM | Recumbent Length (cm) | Target: 0 MONTHS - 47 MONTHS. |
| BMXBMI | Body Mass Index (kg/m^2) | Target : 2 years-150 years. |
| BMXWT_IMPUTE | Imputed and non-imputed value for Bodyweight (kg) | Contains imputed and non-imputed value for Bodyweight (kg). Missing value of bodyweight BMXWT) is imputed by weighted average of BMXWT value from same sex, age and ethnicity. Non-missing value is the same as the non-missing value of BMXWT. |
| BMXHT_IMPUTE | Imputed and non-imputed values for height (cm) | Contains imputed and non-imputed values for height (cm). CDC does not report standing height for less than 2 years old. Recumbent length was used for less than 2 years old. Missing value of height is imputed by weighted average of height from same sex, age and ethnicity. |
| bmxbmi_impute | Imputed and non-imputed value for BMI | Contains imputed and non-imputed value for BMI. | Missing value of BMI is imputed by the following equation: = BMXWT_IMPUTE/(BMXHT_IMPUTE/100)^2; Unit: (kg/m2) |
| RHQ200 | {Are you/Is Surrogate Parent} now breast feeding a child? | |
| WTDRD1 | Dietary day one sample weight | |
| WT6_DAY1 | Dietary day one sample weight; 6-year weighting from 3 survey cycles | 2005-2010 (= WTDRD1 ÷ 3) |
| WTDR2D | Dietary two-day sample weight | |
| WT6_2DAY | Dietary two-day sample weight; 6-year weighting from 3 survey cycles | 2005-20010 (= WTDR2D ÷ 3) |

### Dados Demográficos (Portuguese)

| Campo | Descrição |
| ----- | --------- |
| SEQN | ID do entrevistado |
| SDDSRVYR | Número do ciclo de divulgação de dados do NHANES de dois anos |
| RIDSTATR | Status da entrevista/exame |
| RIDEXMON | Período de seis meses do exame |
| RIAGENDR | Sexo (1 = masculino; 2 = feminino) |
| RIDAGEYR | Idade no momento da entrevista de triagem, em anos |
| RIDAGEMN | Idade no momento da entrevista de triagem domiciliar, em meses |
| RIDEXPRG | Status da gravidez no exame |
| RIDAGEEX | Idade no exame do Mobile Examination Center (MEC), em meses |
| RIDRETH1 | Raça/Etnia |
| SDMVPSU | Pseudo-PSU de variância mascarada |
| SDMVSTRA | Pseudo-estrato de variância mascarada |
| DMDHHSIZ | Número total de pessoas no domicílio |
| YEAR_SURVEY | Ciclo da pesquisa NHANES-WWEIA; renomeado do original do NHANES: YEAR |
| BMXWT | Peso corporal, em quilogramas (kg) |
| BMXHT | Altura em pé (cm) |
| BMXRECUM | Comprimento reclinado (cm) |
| BMXBMI | Índice de massa corporal (kg/m^2) |
| BMXWT_IMPUTE | Valor imputado e não imputado para peso corporal (kg) |
| BMXHT_IMPUTE | Valores imputados e não imputados para altura (cm) |
| bmxbmi_impute | Valor imputado e não imputado para IMC |
| RHQ200 | {Você/Uma mãe substituta} está amamentando agora uma criança? |
| WTDRD1 | Peso da amostra do primeiro dia da dieta |
| WT6_DAY1 | Peso da amostra do primeiro dia da dieta; ponderação de 6 anos de 3 ciclos de pesquisa |
| WTDR2D | Peso da amostra de dois dias da dieta |
| WT6_2DAY | Peso da amostra de dois dias da dieta; ponderação de 6 anos de 3 ciclos de pesquisa |

## Consumption

### Consumption (English)
Expand Down
84 changes: 84 additions & 0 deletions data/food-intake/basics/FCID_Cropgroup_Description-veg.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
CGN,CGL,Crop_Group_Description,Veg_Animal
1,1,Root and Tuber Vegetables,V
1,1A,Root Vegetables,V
1,1B,Root Vegetables (except sugar beet),V
1,1C,Tuberous and Corm Vegetables,V
2,2,Leaves of Root and Tuber Vegetables,V
3,3,Bulb Vegetables,V
3,3A,Garlic/Onion,V
3,3B,Other Bulb Vegetables,V
4,4,Leafy Vegetables,V
4,4A,Leafy Greens,V
4,4B,Brassica Leafy Greens,V
5,5,Brassica Head and Stem Vegetables,V
6,6,Legume Vegetables (Succulent or Dried),V
6,6A,Edible-pod Legume Vegetables,V
6,6B,Succulent shelled peas and beans,V
6,6C,Dried Shelled Pea/Bean (except soybean),V
8,8,Fruiting Vegetables,V
8,8A,Tomato,V
8,8B,Bell Pepper,V
8,8C,Other Fruiting Vegetables,V
9,9,Cucurbit Vegetables,V
9,9A,Melons,V
9,9B,Squash/Cucumbers,V
10,10,Citrus Fruits,V
10,10A,Orange,V
10,10B,Lemon/Lime,V
10,10C,Grapefruit,V
11,11,Pome Fruits,V
12,12,Stone Fruits,V
12,12A,Cherry,V
12,12B,Apricot/Peach,V
12,12C,Plum,V
13,13,Berries,V
13,13A,Berries: Caneberry,V
13,13B,Berries: Bushberry,V
13,13C,Berries: Large Shrub/tree berry,V
13,13D,Berries: Small fruit vine climbing,V
13,13E,Berries: Small fruit vine climbing (except grape),V
13,13F,Berries: Small fruit vine climbing (except kiwi),V
13,13G,Berries: Low growing berry,V
13,13H,Berries: Low growing berry (except strawberry),V
14,14,Tree Nuts,V
15,15,Cereal Grains,V
18,18,Non-grass animal feeds,V
19,19,Herbs and Spices,V
19,19A,Herbs,V
19,19B,Spices,V
20,20,Oilseeds,V
20,20A,Rapeseed,V
20,20B,Sunflower,V
20,20C,Cottonseed,V
21,21,Mushroom,V
22,22,"Stalk, Stem, and Leafy Petiole Vegetables",V
22,22A,Stalk and Stem Vegetables,V
22,22B,Leafy Petiole Vegetables,V
23,23,"Tropical and Subtropical Fruit, Edible Peel",V
23,23A,"Tropical and Subtropical, Small Fruit, Edible Peel",V
23,23B,"Tropical and Subtropical, Medium to Large Fruit, Edible Peel",V
23,23C,"Tropical and Subtropical Palm Fruit, Edible Peel",V
24,24,"Tropical and Subtropical Fruit, Inedible Peel",V
24,24A,"Tropical and Subtropical, Small Fruit, Inedible Peel",V
24,24B,"Tropical and Subtropical, Medium to Large Fruit, Smooth, Inedible Peel",V
24,24C,"Tropical and Subtropical, Medium to Large Fruit, Rough or Hairy, Inedible Peel",V
24,24D,"Tropical and Subtropical, Inedible Peel, Cactus",V
24,24E,"Tropical and Subtropical, Inedible Peel, Vine",V
31,31,Beef,A
32,32,Goat,A
33,33,Horse,A
34,34,Pork,A
35,35,Sheep,A
36,36,Milk,A
37,37,"Milk, Human",A
38,38,Game,A
39,39,Rabbit,A
40,40,Chicken,A
50,50,Turkey,A
60,60,Poultry (other),A
70,70,Egg,A
80,80,Fish,A
86,86,Water,V
86,86A,Direct Water,V
86,86B,Indirect Water,V
95,O,Other,A
Loading

0 comments on commit 235eafe

Please sign in to comment.