Skip to content

Commit

Permalink
Use CG to read specs
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena committed Sep 23, 2024
1 parent 7e717f4 commit e186a43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/Module-CohortIncidence.R
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ CohortIncidenceModule <- R6::R6Class(
return(data)
},
.getResultsDataModelSpecification = function() {
rdms <- readr::read_csv(
rdms <- CohortGenerator::readCsv(
file = private$.getResultsDataModelSpecificationFileLocation(),
show_col_types = FALSE
warnOnCaseMismatch = FALSE
)
rdms$table_name <-paste0(self$tablePrefix, rdms$table_name)
rdms$tableName <-paste0(self$tablePrefix, rdms$tableName)
return(rdms)
},
.getResultsDataModelSpecificationFileLocation = function() {
Expand Down

0 comments on commit e186a43

Please sign in to comment.