Skip to content

Commit

Permalink
fix coltypes to character when reading in results data model
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack3 committed Oct 9, 2024
1 parent 27bc15d commit fd3a81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ResultsDataModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ getResultsDataModelSpecifications <- function(tableName = NULL) {
readr::local_edition(1)
pathToCsv <- system.file("settings", "resultsDataModelSpecification.csv", package = "CohortDiagnostics")

resultsDataModelSpecifications <- readr::read_csv(file = pathToCsv, col_types = "cccccccccc")
resultsDataModelSpecifications <- readr::read_csv(file = pathToCsv, col_types = "ccccccccccc")

colnames(resultsDataModelSpecifications) <- SqlRender::snakeCaseToCamelCase(colnames(resultsDataModelSpecifications))

Expand Down

0 comments on commit fd3a81b

Please sign in to comment.