Skip to content

Commit

Permalink
Run make all-all
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiiam committed Jul 26, 2024
1 parent 808e699 commit 3a63288
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
18 changes: 14 additions & 4 deletions src/data/examples/valid/Container-components-001.yaml
Original file line number Diff line number Diff line change
@@ -1,56 +1,65 @@
components:
- component_sample_id: FDC:167512
component_type: COMPONENT:1003
component_type_label: Protein
component_recorded_value: 5.88
component_measurement_unit: g/(100.g)
component_data_points_number: 1
component_derivation_type: Analytical
- component_sample_id: FDC:167512
component_type: COMPONENT:1007
component_type_label: Ash
component_recorded_value: 3.5
component_measurement_unit: kcal/(100.g)
component_data_points_number: 1
component_derivation_type: Analytical
- component_sample_id: FDC:167512
component_type: COMPONENT:1062
component_type_label: Energy (kJ)
component_recorded_value: 1286.0
component_measurement_unit: kJ/(100.g)
component_data_points_number: 2
component_derivation_type: Analytical
- component_sample_id: FDC:167512
component_type: COMPONENT:1079
component_type_label: Fiber, total dietary
component_recorded_value: 1.2
component_measurement_unit: mg/(100.g)
component_data_points_number: 0
component_derivation_type: Calculated
- component_sample_id: FDC:167512
component_type: COMPONENT:1089
component_type_label: Iron, Fe
component_recorded_value: 2.12
component_measurement_unit: ug/(100.g)
component_data_points_number: 1
component_derivation_type: Estimated
- component_sample_id: FDC:167513
component_type: COMPONENT:1003
component_type_label: Protein
component_recorded_value: 4.34
component_measurement_unit: g/(100.g)
component_data_points_number: 2
component_derivation_type: Analytical
- component_sample_id: FDC:167513
component_type: COMPONENT:1007
component_type_label: Ash
component_recorded_value: 3.08
component_measurement_unit: g/(100.g)
component_measurement_unit: kcal/(100.g)
component_data_points_number: 1
component_derivation_type: Analytical
- component_sample_id: FDC:167513
component_type: COMPONENT:1062
component_type_label: Energy (kJ)
component_recorded_value: 1381.0
component_measurement_unit: g/(100.g)
component_measurement_unit: kJ/(100.g)
component_data_points_number: 0
component_derivation_type: Sourced from literature
- component_sample_id: FDC:167513
component_type: COMPONENT:1079
component_type_label: Fiber, total dietary
component_recorded_value: 1.4
component_measurement_unit: g/(100.g)
component_measurement_unit: mg/(100.g)
component_data_points_number: 6
component_comment: Samples were obtained from 12 retail stores using a probability-based
sampling plan. Some fish had been treated during processing to retain moisture
Expand All @@ -61,7 +70,8 @@ components:
compound_sample_aggregation_median_value: 1.5
- component_sample_id: FDC:167513
component_type: COMPONENT:1089
component_type_label: Iron, Fe
component_recorded_value: 1.93
component_measurement_unit: g/(100.g)
component_measurement_unit: ug/(100.g)
component_data_points_number: 3
component_derivation_type: Analytical
18 changes: 14 additions & 4 deletions src/data/examples/valid/Container-components-002.yaml
Original file line number Diff line number Diff line change
@@ -1,64 +1,74 @@
components:
- component_sample_id: FDC:167512
component_type: COMPONENT:1003
component_type_label: Protein
component_recorded_value: 5.88
component_measurement_unit: g/(100.g)
component_data_points_number: 1
compound_analytical_measurement_method: HPLC
- component_sample_id: FDC:167512
component_type: COMPONENT:1007
component_type_label: Ash
component_recorded_value: 3.5
component_measurement_unit: kcal/(100.g)
component_data_points_number: 1
compound_analytical_measurement_method: GC
- component_sample_id: FDC:167512
component_type: COMPONENT:1062
component_type_label: Energy (kJ)
component_recorded_value: 1286.0
component_measurement_unit: kJ/(100.g)
component_data_points_number: 2
compound_analytical_measurement_method: GLC
- component_sample_id: FDC:167512
component_type: COMPONENT:1079
component_type_label: Fiber, total dietary
component_recorded_value: 1.2
component_measurement_unit: mg/(100.g)
component_data_points_number: 0
compound_analytical_measurement_method: Nephelometry
- component_sample_id: FDC:167512
component_type: COMPONENT:1089
component_type_label: Iron, Fe
component_recorded_value: 2.12
component_measurement_unit: ug/(100.g)
component_data_points_number: 1
compound_analytical_measurement_protocol_doi: ' AOAC 934.06 mod'
compound_analytical_measurement_method: Gravimetric
- component_sample_id: FDC:167513
component_type: COMPONENT:1003
component_type_label: Protein
component_recorded_value: 4.34
component_measurement_unit: g/(100.g)
component_data_points_number: 2
compound_analytical_measurement_protocol_doi: AOAC 985.01 + 984.27
compound_analytical_measurement_method: Fluorometric
- component_sample_id: FDC:167513
component_type: COMPONENT:1007
component_type_label: Ash
component_recorded_value: 3.08
component_measurement_unit: g/(100.g)
component_measurement_unit: kcal/(100.g)
component_data_points_number: 1
compound_analytical_measurement_method: Kjeldahl
- component_sample_id: FDC:167513
component_type: COMPONENT:1062
component_type_label: Energy (kJ)
component_recorded_value: 1381.0
component_measurement_unit: g/(100.g)
component_measurement_unit: kJ/(100.g)
component_data_points_number: 0
compound_analytical_measurement_protocol_doi: AOAC 996.06
compound_analytical_measurement_method: HPLC
- component_sample_id: FDC:167513
component_type: COMPONENT:1079
component_type_label: Fiber, total dietary
component_recorded_value: 1.4
component_measurement_unit: g/(100.g)
component_measurement_unit: mg/(100.g)
component_data_points_number: 6
compound_analytical_measurement_method: HPLC
- component_sample_id: FDC:167513
component_type: COMPONENT:1089
component_type_label: Iron, Fe
component_recorded_value: 1.93
component_measurement_unit: g/(100.g)
component_measurement_unit: ug/(100.g)
component_data_points_number: 3
compound_analytical_measurement_method: HPLC

0 comments on commit 3a63288

Please sign in to comment.