Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving aggregate results model #49

Merged
merged 2 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions R/Database.R
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,17 @@ exportDatabaseToCsv <- function(
getResultTables <- function() {
return(
unique(
readr::read_csv(
file = system.file(
"settings",
"resultsDataModelSpecification.csv",
package = "Characterization"
),
show_col_types = FALSE
)$table_name
c(
readr::read_csv(
file = system.file(
"settings",
"resultsDataModelSpecification.csv",
package = "Characterization"
),
show_col_types = FALSE
)$table_name,
'migration', 'package_version'
)
)
)
}
Expand Down
3 changes: 0 additions & 3 deletions inst/settings/resultsDataModelSpecification.csv
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,3 @@ cohort_counts,person_count,int,Yes,No,No,No,The number of distinct people in eac
cohort_counts,min_exposure_time,bigint,No,No,No,No,Minimum exposure time across cohort
cohort_counts,mean_exposure_time,bigint,No,No,No,No,Mean exposure time across cohort
cohort_counts,max_exposure_time,bigint,No,No,No,No,Max exposure time across cohort
migration,migration_file,varchar(100),No,Yes,No,No,migration files that have been run
migration,migration_order,int,No,No,No,No,migration files implementation order
package_version,version_number,varchar(10),No,Yes,No,No,version of characterization package
Loading