Skip to content

Commit

Permalink
editing results tables
Browse files Browse the repository at this point in the history
- letting some columns be NULL after censoring
  • Loading branch information
jreps committed Aug 8, 2024
1 parent ca6518c commit 9aad4dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions inst/settings/resultsDataModelSpecification.csv
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,23 @@ covariates,outcome_cohort_id,int,Yes,Yes,No,No,The outcome cohort id
covariates,min_characterization_mean,float,No,Yes,No,No,Minimum fraction for feature extraction
covariates,covariate_id,bigint,Yes,Yes,No,No,The covaraite id
covariates,sum_value,int,Yes,No,No,No,The sum value
covariates,average_value,float,Yes,No,No,No,The average value
covariates,average_value,float,No,No,No,No,The average value
covariates_continuous,database_id,varchar(100),Yes,Yes,No,No,The database identifier
covariates_continuous,setting_id,float,Yes,Yes,No,No,The run identifier
covariates_continuous,cohort_type,varchar(10),Yes,Yes,No,No,The cohort type
covariates_continuous,target_cohort_id,int,Yes,Yes,No,No,The target cohort id
covariates_continuous,outcome_cohort_id,int,Yes,Yes,No,No,The outcome cohort id
covariates_continuous,covariate_id,bigint,Yes,Yes,No,No,The covariate identifier
covariates_continuous,count_value,int,Yes,No,No,No,The count value
covariates_continuous,min_value,float,Yes,No,No,No,The min value
covariates_continuous,max_value,float,Yes,No,No,No,The max value
covariates_continuous,average_value,float,Yes,No,No,No,The average value
covariates_continuous,standard_deviation,float,Yes,No,No,No,The standard devidation
covariates_continuous,median_value,float,Yes,No,No,No,The median value
covariates_continuous,p_10_value,float,Yes,No,No,No,The 10th percentile
covariates_continuous,p_25_value,float,Yes,No,No,No,The 25th percentile
covariates_continuous,p_75_value,float,Yes,No,No,No,The 75th percentile
covariates_continuous,p_90_value,float,Yes,No,No,No,The 90th percentile
covariates_continuous,min_value,float,No,No,No,No,The min value
covariates_continuous,max_value,float,No,No,No,No,The max value
covariates_continuous,average_value,float,No,No,No,No,The average value
covariates_continuous,standard_deviation,float,No,No,No,No,The standard devidation
covariates_continuous,median_value,float,No,No,No,No,The median value
covariates_continuous,p_10_value,float,No,No,No,No,The 10th percentile
covariates_continuous,p_25_value,float,No,No,No,No,The 25th percentile
covariates_continuous,p_75_value,float,No,No,No,No,The 75th percentile
covariates_continuous,p_90_value,float,No,No,No,No,The 90th percentile
settings,setting_id,float,Yes,Yes,No,No,The run identifier
settings,database_id,varchar(100),Yes,Yes,No,No,The database identifier
settings,covariate_setting_json,varchar,Yes,No,No,No,The covariate settings JSON
Expand Down
2 changes: 1 addition & 1 deletion inst/sql/sql_server/ResultTables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ CREATE TABLE @my_schema.@table_prefixcovariates (
min_characterization_mean float,
covariate_id bigint NOT NULL,
sum_value int NOT NULL,
average_value float NOT NULL,
average_value float,
PRIMARY KEY (database_id, setting_id, target_cohort_id, outcome_cohort_id, cohort_type , covariate_id)
);

Expand Down

0 comments on commit 9aad4dc

Please sign in to comment.