Skip to content

Commit

Permalink
debugging impute zeroes
Browse files Browse the repository at this point in the history
  • Loading branch information
d-callan committed Dec 12, 2023
1 parent 8b327f3 commit dc26632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/methods-Megastudy.R
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ setMethod('getDTWithImputedZeroes', signature = c('Megastudy', 'VariableMetadata
}
.dt2 <- purrr::reduce(dataTablesOfImputedValues, mergeDTsOfImputedValues)
veupathUtils::logWithTime(paste("Finished collapsing imputed values for all variables into one table. Added", nrow(.dt2), "total rows."), verbose)
message(colnames(.dt2))
message(head(.dt2))

#make impossibly unique ids
.dt2[[varSpecEntityIdColName]] <- apply(.dt2[, c(upstreamEntityIdColNames, varSpecColNames), with=FALSE], 1, digest::digest, algo='md5')
Expand Down

0 comments on commit dc26632

Please sign in to comment.