From 27e6760a3eb981f8d7d70b8be2b65f2159ddee03 Mon Sep 17 00:00:00 2001 From: garciampred <99014432+garciampred@users.noreply.github.com> Date: Mon, 23 Jan 2023 10:11:07 +0100 Subject: [PATCH 1/2] Update uncertainty_table.csv Typo fixed --- table_definitions/uncertainty_table.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table_definitions/uncertainty_table.csv b/table_definitions/uncertainty_table.csv index 7535b30..d81990c 100644 --- a/table_definitions/uncertainty_table.csv +++ b/table_definitions/uncertainty_table.csv @@ -2,7 +2,7 @@ # Source: element_name kind external_table description observation_id varchar observations_table:observation_id Link to observation this entry is for -uncertainty_type int uncertainty_type.type Type of uncertainty described by this entry +uncertainty_type int uncertainty_type:type Type of uncertainty described by this entry uncertainty_method int uncertainty_method:method Method used to estimate this uncertainty uncertainty_value numeric Expected error standard deviation due to specified uncerainty source uncertainty_units int units:units The units used to report the uncertainty. This may be different to the reporting units (e.g. \%) From d663cde3b21129d66f90fa9b664693b589f84e2d Mon Sep 17 00:00:00 2001 From: garciampred <99014432+garciampred@users.noreply.github.com> Date: Mon, 23 Jan 2023 10:14:04 +0100 Subject: [PATCH 2/2] Update uncertainty_table.csv Added (pk) to define primary keys. --- table_definitions/uncertainty_table.csv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table_definitions/uncertainty_table.csv b/table_definitions/uncertainty_table.csv index d81990c..c2f0f09 100644 --- a/table_definitions/uncertainty_table.csv +++ b/table_definitions/uncertainty_table.csv @@ -1,8 +1,8 @@ # Description: # Source: element_name kind external_table description -observation_id varchar observations_table:observation_id Link to observation this entry is for -uncertainty_type int uncertainty_type:type Type of uncertainty described by this entry +observation_id varchar (pk) observations_table:observation_id Link to observation this entry is for +uncertainty_type int (pk) uncertainty_type:type Type of uncertainty described by this entry uncertainty_method int uncertainty_method:method Method used to estimate this uncertainty uncertainty_value numeric Expected error standard deviation due to specified uncerainty source uncertainty_units int units:units The units used to report the uncertainty. This may be different to the reporting units (e.g. \%)