Skip to content

Commit

Permalink
Add json exports of example data
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiiam committed Sep 8, 2023
1 parent 65590ed commit f3e1c18
Show file tree
Hide file tree
Showing 4 changed files with 211 additions and 0 deletions.
89 changes: 89 additions & 0 deletions data_validation/results/json/Component-001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"components": [
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1003",
"measured_compound_value": 5.88,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 1,
"measured_compound_derivation_type": "Analytical"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1007",
"measured_compound_value": 3.5,
"measured_compound_unit": "kcal",
"measured_compound_data_points_number": 1,
"measured_compound_derivation_type": "Analytical"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1062",
"measured_compound_value": 1286.0,
"measured_compound_unit": "kJ",
"measured_compound_data_points_number": 2,
"measured_compound_derivation_type": "Analytical"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1079",
"measured_compound_value": 1.2,
"measured_compound_unit": "mg",
"measured_compound_data_points_number": 0,
"measured_compound_derivation_type": "Calculated"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1089",
"measured_compound_value": 2.12,
"measured_compound_unit": "ug",
"measured_compound_data_points_number": 1,
"measured_compound_derivation_type": "Estimated"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1003",
"measured_compound_value": 4.34,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 2,
"measured_compound_derivation_type": "Analytical"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1007",
"measured_compound_value": 3.08,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 1,
"measured_compound_derivation_type": "Analytical"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1062",
"measured_compound_value": 1381.0,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 0,
"measured_compound_derivation_type": "Sourced from literature"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1079",
"measured_compound_value": 1.4,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 6,
"measured_compound_comment": "Samples were obtained from 12 retail stores using a probability-based sampling plan. Some fish had been treated during processing to retain moisture on thawing. Untreated fish = 265 mg sodium/100g.",
"measured_compound_derivation_type": "Analytical",
"laboratory_sample_aggregation_minimum_measured_compound_value": 0.8,
"laboratory_sample_aggregation_maximum_measured_compound_value": 2.2,
"laboratory_sample_aggregation_median_measured_compound_value": 1.5
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1089",
"measured_compound_value": 1.93,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 3,
"measured_compound_derivation_type": "Analytical"
}
],
"@type": "Container"
}
88 changes: 88 additions & 0 deletions data_validation/results/json/Component-002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"components": [
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1003",
"measured_compound_value": 5.88,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 1,
"analytical_analysis_measurement_method": "HPLC"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1007",
"measured_compound_value": 3.5,
"measured_compound_unit": "kcal",
"measured_compound_data_points_number": 1,
"analytical_analysis_measurement_method": "GC"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1062",
"measured_compound_value": 1286.0,
"measured_compound_unit": "kJ",
"measured_compound_data_points_number": 2,
"analytical_analysis_measurement_method": "GLC"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1079",
"measured_compound_value": 1.2,
"measured_compound_unit": "mg",
"measured_compound_data_points_number": 0,
"analytical_analysis_measurement_method": "Nephelometry"
},
{
"id": "FDC:167512",
"measured_compound": "COMPONENT:1089",
"measured_compound_value": 2.12,
"measured_compound_unit": "ug",
"measured_compound_data_points_number": 1,
"analytical_analysis_measurement_protocol_doi": " AOAC 934.06 mod",
"analytical_analysis_measurement_method": "Gravimetric"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1003",
"measured_compound_value": 4.34,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 2,
"analytical_analysis_measurement_protocol_doi": "AOAC 985.01 + 984.27",
"analytical_analysis_measurement_method": "Fluorometric"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1007",
"measured_compound_value": 3.08,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 1,
"analytical_analysis_measurement_method": "Kjeldahl"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1062",
"measured_compound_value": 1381.0,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 0,
"analytical_analysis_measurement_protocol_doi": "AOAC 996.06",
"analytical_analysis_measurement_method": "HPLC"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1079",
"measured_compound_value": 1.4,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 6,
"analytical_analysis_measurement_method": "HPLC"
},
{
"id": "FDC:167513",
"measured_compound": "COMPONENT:1089",
"measured_compound_value": 1.93,
"measured_compound_unit": "g",
"measured_compound_data_points_number": 3,
"analytical_analysis_measurement_method": "HPLC"
}
],
"@type": "Container"
}
17 changes: 17 additions & 0 deletions data_validation/results/json/Food-001.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"foods": [
{
"id": "FDC:167512",
"primary_food_type": "FOOD:11954",
"primary_food_type_label": "Tomatillos, raw",
"food_preparation_state": "raw"
},
{
"id": "FDC:167513",
"primary_food_type": "FOOD:10100",
"primary_food_type_label": "Pork, fresh, variety meats and by-products, ears, frozen, raw",
"food_preparation_state": "fresh frozen"
}
],
"@type": "Container"
}
17 changes: 17 additions & 0 deletions data_validation/results/json/Food-002.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"foods": [
{
"id": "FDC:392739",
"primary_food_type": "FOOD:4601",
"primary_food_type_label": "Butter, light, stick, with salt",
"food_preparation_state": "fresh"
},
{
"id": "FDC:392740",
"primary_food_type": "FOOD:11601",
"primary_food_type_label": "Yam, raw",
"food_preparation_state": "raw"
}
],
"@type": "Container"
}

0 comments on commit f3e1c18

Please sign in to comment.