Skip to content

Commit

Permalink
updated benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Oct 11, 2024
1 parent ac32f5c commit 1691ee1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Binary file added data-raw/data/Results_OHDSI redshift_20241008.zip
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions data-raw/getBenchmarkResults.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ mergeData <- function(data, patterns) {
srObs <- sum(lapply(data[grepl(pat, names(data))], class) |> unlist() == "summarised_result")
if (srObs > 0) {
if (srObs == srExp) {
for(i in seq_along(dataSubset)) {
if(!is.null(attr(dataSubset[[i]], "settings"))){
attr(dataSubset[[i]], "settings") <- attr(dataSubset[[i]], "settings") |>
mutate(across(.cols = -result_id, as.character))
}
}
x[[pat]] <- dataSubset %>% omopgenerics::bind()
} else {
cli::cli_abort("Not all results with pattern {pat} have class summarised result.")
Expand Down
Binary file modified data/benchmarkData.rda
Binary file not shown.

0 comments on commit 1691ee1

Please sign in to comment.